#254B9A#254B9A
#254B9A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.137 H 262.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #254B9A |
|---|---|
| RGB | rgb(37, 75, 154) |
| HSL | hsl(221, 61%, 37%) |
| HSV | hsv(221, 76%, 60%) |
| CMYK | cmyk(76%, 51.3%, 0%, 39.6%) |
| CIE-LAB | lab(33.47, 15.57, -47.09) |
| CIE-LCH | lch(33.47, 49.60, 288.30°) |
| OKLab | oklab(43.18% -0.0173 -0.1354) |
| OKLCH | oklch(43.18% 0.137 262.7) |
| XYZ | xyz(9.1097, 7.7576, 31.5828) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.89
Cobalt
#0047AB
ΔE00 2.82
Dusk Blue
#26538D
ΔE00 3.86
Sapphire
#0F52BA
ΔE00 4.54
Darkish Blue
#014182
ΔE00 4.97
Light Navy
#155084
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B9A #9A7425
analogous
#25869A #254B9A #3A259A
triadic
#254B9A #9A254B #4B9A25
tetradic
#254B9A #9A2586 #9A7425 #259A3A
square
#254B9A #9A2586 #9A7425 #259A3A
split-complementary
#254B9A #9A3A25 #869A25
monochromatic
#0D1B37 #193369 #254B9A #3163CB #6088D9
Accessibility & contrast
On white
8.23
#254B9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#254B9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B9A
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B9A | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B549D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254b9a; /* rgb */ color: rgb(37, 75, 154); /* oklch */ color: oklch(43.2% 0.137 262.7);
Tailwind
colors: {
custom: {
50: '#717cb8',
500: '#254b9a',
950: '#000000',
},
}SCSS
$custom: #254b9a; $custom-light: #717cb8; $custom-dark: #000000;
JSON
{
"hex": "#254b9a",
"rgb": {
"r": 37,
"g": 75,
"b": 154
},
"hsl": {
"h": 220.513,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.43182,
"c": 0.1365,
"h": 262.7
},
"luminance": 0.07759
}Semantic roles & 50–950 ramp
primary
#254B9A
secondary
#BE9E5D
accent
#B043E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80