#254E96#254E96
#254E96 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.127 H 260.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #254E96 |
|---|---|
| RGB | rgb(37, 78, 150) |
| HSL | hsl(218, 60%, 37%) |
| HSV | hsv(218, 75%, 59%) |
| CMYK | cmyk(75.3%, 48%, 0%, 41.2%) |
| CIE-LAB | lab(34.07, 11.99, -43.70) |
| CIE-LCH | lch(34.07, 45.32, 285.34°) |
| OKLab | oklab(43.55% -0.0204 -0.1254) |
| OKLCH | oklch(43.55% 0.127 260.7) |
| XYZ | xyz(8.9904, 8.0431, 29.9269) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.04
Dusk Blue
#26538D
ΔE00 2.52
Cobalt
#0047AB
ΔE00 3.74
Light Navy
#155084
ΔE00 4.31
Denim Blue
#3B5B92
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E96 #966D25
analogous
#258796 #254E96 #352596
triadic
#254E96 #96254E #4E9625
tetradic
#254E96 #962587 #966D25 #259635
square
#254E96 #962587 #966D25 #259635
split-complementary
#254E96 #963525 #879625
monochromatic
#0D1B34 #193465 #254E96 #3168C7 #5E8AD7
Accessibility & contrast
On white
8.05
#254E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#254E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E96
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E96 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254e96; /* rgb */ color: rgb(37, 78, 150); /* oklch */ color: oklch(43.6% 0.127 260.7);
Tailwind
colors: {
custom: {
50: '#707fb5',
500: '#254e96',
950: '#000000',
},
}SCSS
$custom: #254e96; $custom-light: #707fb5; $custom-dark: #000000;
JSON
{
"hex": "#254e96",
"rgb": {
"r": 37,
"g": 78,
"b": 150
},
"hsl": {
"h": 218.23,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.43553,
"c": 0.12704,
"h": 260.7
},
"luminance": 0.08044
}Semantic roles & 50–950 ramp
primary
#254E96
secondary
#BC995B
accent
#AA44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80