#254E94#254E94
#254E94 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.124 H 260.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #254E94 |
|---|---|
| RGB | rgb(37, 78, 148) |
| HSL | hsl(218, 60%, 36%) |
| HSV | hsv(218, 75%, 58%) |
| CMYK | cmyk(75%, 47.3%, 0%, 42%) |
| CIE-LAB | lab(33.94, 11.20, -42.70) |
| CIE-LCH | lch(33.94, 44.15, 284.70°) |
| OKLab | oklab(43.41% -0.0208 -0.1224) |
| OKLCH | oklch(43.41% 0.124 260.4) |
| XYZ | xyz(8.8307, 7.9792, 29.0860) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.97
Dusk Blue
#26538D
ΔE00 2.34
Cobalt
#0047AB
ΔE00 3.95
Light Navy
#155084
ΔE00 4.10
Denim Blue
#3B5B92
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E94 #946B25
analogous
#258694 #254E94 #342594
triadic
#254E94 #94254E #4E9425
tetradic
#254E94 #942586 #946B25 #259434
square
#254E94 #942586 #946B25 #259434
split-complementary
#254E94 #943425 #869425
monochromatic
#0D1A32 #193463 #254E94 #3168C5 #5D8AD6
Accessibility & contrast
On white
8.09
#254E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#254E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E94
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E94 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#0F4B93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254e94; /* rgb */ color: rgb(37, 78, 148); /* oklch */ color: oklch(43.4% 0.124 260.4);
Tailwind
colors: {
custom: {
50: '#6f7fb4',
500: '#254e94',
950: '#000000',
},
}SCSS
$custom: #254e94; $custom-light: #6f7fb4; $custom-dark: #000000;
JSON
{
"hex": "#254e94",
"rgb": {
"r": 37,
"g": 78,
"b": 148
},
"hsl": {
"h": 217.838,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.43408,
"c": 0.12419,
"h": 260.4
},
"luminance": 0.0798
}Semantic roles & 50–950 ramp
primary
#254E94
secondary
#BB9759
accent
#A945E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80