#254A9C#254A9C
#254A9C is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.141 H 263.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #254A9C |
|---|---|
| RGB | rgb(37, 74, 156) |
| HSL | hsl(221, 62%, 38%) |
| HSV | hsv(221, 76%, 61%) |
| CMYK | cmyk(76.3%, 52.6%, 0%, 38.8%) |
| CIE-LAB | lab(33.33, 17.03, -48.54) |
| CIE-LCH | lch(33.33, 51.44, 289.34°) |
| OKLab | oklab(43.12% -0.0162 -0.1397) |
| OKLCH | oklch(43.12% 0.141 263.4) |
| XYZ | xyz(9.2103, 7.6901, 32.4450) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.15
Cobalt
#0047AB
ΔE00 2.51
Dusk Blue
#26538D
ΔE00 4.36
Sapphire
#0F52BA
ΔE00 4.54
Darkish Blue
#014182
ΔE00 5.13
Twilight Blue
#0A437A
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254A9C #9C7725
analogous
#25859C #254A9C #3C259C
triadic
#254A9C #9C254A #4A9C25
tetradic
#254A9C #9C2585 #9C7725 #259C3C
square
#254A9C #9C2585 #9C7725 #259C3C
split-complementary
#254A9C #9C3C25 #859C25
monochromatic
#0E1B39 #19336B #254A9C #3161CD #6287DA
Accessibility & contrast
On white
8.27
#254A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#254A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254A9C
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254A9C | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14549F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254a9c; /* rgb */ color: rgb(37, 74, 156); /* oklch */ color: oklch(43.1% 0.141 263.4);
Tailwind
colors: {
custom: {
50: '#717bba',
500: '#254a9c',
950: '#000000',
},
}SCSS
$custom: #254a9c; $custom-light: #717bba; $custom-dark: #000000;
JSON
{
"hex": "#254a9c",
"rgb": {
"r": 37,
"g": 74,
"b": 156
},
"hsl": {
"h": 221.345,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.43118,
"c": 0.1406,
"h": 263.4
},
"luminance": 0.07691
}Semantic roles & 50–950 ramp
primary
#254A9C
secondary
#BFA15E
accent
#B243E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81