#254AA9#254AA9
#254AA9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.159 H 264.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #254AA9 |
|---|---|
| RGB | rgb(37, 74, 169) |
| HSL | hsl(223, 64%, 40%) |
| HSV | hsv(223, 78%, 66%) |
| CMYK | cmyk(78.1%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.30, 22.10, -54.77) |
| CIE-LCH | lch(34.30, 59.06, 291.98°) |
| OKLab | oklab(44.16% -0.015 -0.158) |
| OKLCH | oklch(44.16% 0.159 264.6) |
| XYZ | xyz(10.3706, 8.1543, 38.5558) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.94
Sapphire
#0F52BA
ΔE00 3.62
Cobalt (survey)
#1E488F
ΔE00 3.98
Blue Blue
#2242C7
ΔE00 5.24
Dusk Blue
#26538D
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AA9 #A98425
analogous
#258CA9 #254AA9 #4225A9
triadic
#254AA9 #A9254A #4AA925
tetradic
#254AA9 #A9258C #A98425 #25A942
square
#254AA9 #A9258C #A98425 #25A942
split-complementary
#254AA9 #A94225 #8CA925
monochromatic
#0F1E45 #1A3477 #254AA9 #3863D3 #6A8BDE
Accessibility & contrast
On white
7.98
#254AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#254AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AA9
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AA9 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254aa9; /* rgb */ color: rgb(37, 74, 169); /* oklch */ color: oklch(44.2% 0.159 264.6);
Tailwind
colors: {
custom: {
50: '#747cc3',
500: '#254aa9',
950: '#000000',
},
}SCSS
$custom: #254aa9; $custom-light: #747cc3; $custom-dark: #000000;
JSON
{
"hex": "#254aa9",
"rgb": {
"r": 37,
"g": 74,
"b": 169
},
"hsl": {
"h": 223.182,
"s": 64.078,
"l": 40.392
},
"oklch": {
"l": 0.44163,
"c": 0.15871,
"h": 264.6
},
"luminance": 0.08155
}Semantic roles & 50–950 ramp
primary
#254AA9
secondary
#C4AA65
accent
#B841E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82