#254CA9#254CA9
#254CA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.156 H 264.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #254CA9 |
|---|---|
| RGB | rgb(37, 76, 169) |
| HSL | hsl(222, 64%, 40%) |
| HSV | hsv(222, 78%, 66%) |
| CMYK | cmyk(78.1%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(34.85, 20.76, -53.87) |
| CIE-LCH | lch(34.85, 57.73, 291.08°) |
| OKLab | oklab(44.58% -0.0165 -0.1553) |
| OKLCH | oklch(44.58% 0.156 264) |
| XYZ | xyz(10.5063, 8.4256, 38.6010) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.13
Sapphire
#0F52BA
ΔE00 3.09
Cobalt (survey)
#1E488F
ΔE00 3.90
Dusk Blue
#26538D
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 5.69
Denim Blue
#3B5B92
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CA9 #A98225
analogous
#258EA9 #254CA9 #4025A9
triadic
#254CA9 #A9254C #4CA925
tetradic
#254CA9 #A9258E #A98225 #25A940
square
#254CA9 #A9258E #A98225 #25A940
split-complementary
#254CA9 #A94025 #8EA925
monochromatic
#0F1F45 #1A3577 #254CA9 #3866D3 #6A8CDE
Accessibility & contrast
On white
7.82
#254CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#254CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CA9
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CA9 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254ca9; /* rgb */ color: rgb(37, 76, 169); /* oklch */ color: oklch(44.6% 0.156 264.0);
Tailwind
colors: {
custom: {
50: '#747dc3',
500: '#254ca9',
950: '#000000',
},
}SCSS
$custom: #254ca9; $custom-light: #747dc3; $custom-dark: #000000;
JSON
{
"hex": "#254ca9",
"rgb": {
"r": 37,
"g": 76,
"b": 169
},
"hsl": {
"h": 222.273,
"s": 64.078,
"l": 40.392
},
"oklch": {
"l": 0.44579,
"c": 0.1562,
"h": 264
},
"luminance": 0.08427
}Semantic roles & 50–950 ramp
primary
#254CA9
secondary
#C4A865
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82