#254E97#254E97
#254E97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.128 H 260.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #254E97 |
|---|---|
| RGB | rgb(37, 78, 151) |
| HSL | hsl(218, 61%, 37%) |
| HSV | hsv(218, 75%, 59%) |
| CMYK | cmyk(75.5%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(34.14, 12.38, -44.20) |
| CIE-LCH | lch(34.14, 45.90, 285.64°) |
| OKLab | oklab(43.63% -0.0203 -0.1268) |
| OKLCH | oklch(43.63% 0.128 260.9) |
| XYZ | xyz(9.0712, 8.0755, 30.3528) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.09
Dusk Blue
#26538D
ΔE00 2.61
Cobalt
#0047AB
ΔE00 3.64
Light Navy
#155084
ΔE00 4.41
Sapphire
#0F52BA
ΔE00 4.47
Denim Blue
#3B5B92
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E97 #976E25
analogous
#258797 #254E97 #352597
triadic
#254E97 #97254E #4E9725
tetradic
#254E97 #972587 #976E25 #259735
square
#254E97 #972587 #976E25 #259735
split-complementary
#254E97 #973525 #879725
monochromatic
#0D1B35 #193566 #254E97 #3167C8 #5F8AD8
Accessibility & contrast
On white
8.03
#254E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#254E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E97
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E97 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#064B96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254e97; /* rgb */ color: rgb(37, 78, 151); /* oklch */ color: oklch(43.6% 0.128 260.9);
Tailwind
colors: {
custom: {
50: '#707fb6',
500: '#254e97',
950: '#000000',
},
}SCSS
$custom: #254e97; $custom-light: #707fb6; $custom-dark: #000000;
JSON
{
"hex": "#254e97",
"rgb": {
"r": 37,
"g": 78,
"b": 151
},
"hsl": {
"h": 218.421,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.43626,
"c": 0.12846,
"h": 260.9
},
"luminance": 0.08076
}Semantic roles & 50–950 ramp
primary
#254E97
secondary
#BD9A5B
accent
#AA44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80