Skip to content

#2452cf

a balanced, vivid blue · cool · closest name: Royal Blue

RGB
36, 82, 207
HSL
224°, 70%, 48%
CMYK
83, 60, 0, 19
Luminance
0.1091

At a glance

Every number on this page in one read: what #2452cf is made of, how bright it looks, and which way it leans.

Hex
#2452cf
Hue
224°
blue
Saturation
70%
vivid
Lightness
48%
balanced
Brightness
81%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1091
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.60:1
Closest name
Royal Blue
ΔE2000 8
Where it sits
Hue224° of 360°
Saturation70%
Lightness48%
Temperature
Warm ← → Cool92% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2452cf
RGBrgb(36, 82, 207)
HSLhsl(224, 70%, 48%)
CMYKcmyk(83%, 60%, 0%, 19%)
LABlab(39.4 31.3 -68.7)
LCHlch(39.4 75.5 294.5)
OKLCHoklch(0.489 0.200 264.5)
Decimal2380495
Display P3color(display-p3 0.141 0.322 0.812)

Copy-ready code

/* CSS */
color: #2452cf;
background-color: #2452cf;
/* Tailwind (arbitrary) */
class="text-[#2452cf] bg-[#2452cf]"
/* SCSS */
$brand: #2452cf;
/* SwiftUI */
Color(red: 0.141, green: 0.322, blue: 0.812)
/* Android */
Color.parseColor("#2452cf")
/* Flutter */
Color(0xFF2452CF)
/* Python / OpenCV (BGR) */
(207, 82, 36)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #2452cf · 6.60:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.60:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.18:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2452cf as text scores 6.60:1 on white and 3.18:1 on black.

Accessibility — WCAG contrast

Aa
#2452cf on white: 6.60:1
AA ✓ pass · AA-large · AAA
Aa
#2452cf on black: 3.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065D3
deuteranopia · #0055CD
tritanopia · #007288

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2452cf is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F5FC
#E7ECF8
#C9D4F2
#9FB5EE
#708FE6
#406ADE
#2452cf
#1E45AE
#18378B
#162B65
#0D1B3F
Base = 600Lightest = 50 · #F3F5FCDarkest = 950 · #0D1B3F
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E7ECF8;
  --brand-200: #C9D4F2;
  --brand-300: #9FB5EE;
  --brand-400: #708FE6;
  --brand-500: #406ADE;
  --brand-600: #2452cf;
  --brand-700: #1E45AE;
  --brand-800: #18378B;
  --brand-900: #162B65;
  --brand-950: #0D1B3F;
  --brand: #2452cf;
  --brand-ink: #ffffff;
}

Colors that work with #2452cf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0CCED
Hairlines and dividers
Muted text#4B609B
Captions on the surface
Accent#D4761F
Second voice, not a rival
Dark variant#132B6D
Hover, pressed, headers
Light variant#E9EEFB
Selected rows, tints
Dark surface#141824
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2452cf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#CFA124
Analogous left#24A7CF
Analogous right#4C24CF
Split-complement 1#CF4C24
Split-complement 2#A7CF24
Triadic 1#CF2452
Triadic 2#52CF24
Tetradic#CF24A7

RGB percentages

Red14.1%
Green32.2%
Blue81.2%

CMYK percentages

Cyan82.6%
Magenta60.4%
Yellow0.0%
Key (black)18.8%

Color previews

#2452cf text on a black background

contrast 3.18:1

Card sample

#2452cf text on a white background

contrast 6.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2452cf;
Background color
Panel with #2452cf background
background-color: #2452cf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2452cf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(36, 82, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(36, 82, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2452cf;
background: linear-gradient(135deg, #2452cf, #6824CF);

Monochromatic scale

Palettes built from #2452cf

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2452cf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#2452cf, answered

What color is #2452cf?

#2452cf is a balanced vivid blue, closest to Royal Blue (ΔE2000 8). It sits at 224° on the hue wheel with 70% saturation and 48% lightness, which reads as cool.

What is the RGB value of #2452cf?

rgb(36, 82, 207) — 36 red, 82 green and 207 blue out of 255, or 14.1% / 32.2% / 81.2% by channel.

Is #2452cf a light or a dark color?

It is a dark color. Relative luminance is 0.1091 and perceived brightness is 38%, so white text on it reaches 6.60:1.

Should I use black or white text on #2452cf?

White. It scores 6.60:1 against #2452cf, versus 3.18:1 for black — AA at any size.

What is the complementary color of #2452cf?

#CFA124 sits directly opposite on the wheel. Softer options are the split-complements #CF4C24 and #A7CF24, which give the same contrast with far less vibration.

What colors go well with #2452cf?

For interface work: #F4F6FA as the surface, #C0CCED for borders, #4B609B for secondary text, #D4761F as an accent and #132B6D for hover and pressed states. For a palette, the analogous pair #24A7CF and #4C24CF stays calm, while #CFA124 is the loudest partner.

What is #2452cf in CMYK for printing?

cmyk(83%, 60%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2452cf warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3524CF; nudged cooler, #2264D1.

Work with #2452cf in the Color Lab