#254D9C#254D9C
#254D9C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.137 H 262.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #254D9C |
|---|---|
| RGB | rgb(37, 77, 156) |
| HSL | hsl(220, 62%, 38%) |
| HSV | hsv(220, 76%, 61%) |
| CMYK | cmyk(76.3%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.19, 15.01, -47.14) |
| CIE-LCH | lch(34.19, 49.48, 287.66°) |
| OKLab | oklab(43.78% -0.0187 -0.1355) |
| OKLCH | oklch(43.78% 0.137 262.2) |
| XYZ | xyz(9.4154, 8.1003, 32.5133) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.30
Cobalt
#0047AB
ΔE00 2.95
Dusk Blue
#26538D
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 4.03
Denim Blue
#3B5B92
ΔE00 4.99
Light Navy
#155084
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254D9C #9C7425
analogous
#25889C #254D9C #38259C
triadic
#254D9C #9C254D #4D9C25
tetradic
#254D9C #9C2588 #9C7425 #259C38
square
#254D9C #9C2588 #9C7425 #259C38
split-complementary
#254D9C #9C3825 #889C25
monochromatic
#0E1C39 #19356B #254D9C #3165CD #628ADA
Accessibility & contrast
On white
8.01
#254D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#254D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254D9C
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254D9C | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254d9c; /* rgb */ color: rgb(37, 77, 156); /* oklch */ color: oklch(43.8% 0.137 262.2);
Tailwind
colors: {
custom: {
50: '#717eba',
500: '#254d9c',
950: '#000000',
},
}SCSS
$custom: #254d9c; $custom-light: #717eba; $custom-dark: #000000;
JSON
{
"hex": "#254d9c",
"rgb": {
"r": 37,
"g": 77,
"b": 156
},
"hsl": {
"h": 219.832,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.43775,
"c": 0.1368,
"h": 262.2
},
"luminance": 0.08101
}Semantic roles & 50–950 ramp
primary
#254D9C
secondary
#BF9E5E
accent
#AE43E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81