#254989#254989
#254989 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.115 H 260.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #254989 |
|---|---|
| RGB | rgb(37, 73, 137) |
| HSL | hsl(218, 57%, 34%) |
| HSV | hsv(218, 73%, 54%) |
| CMYK | cmyk(73%, 46.7%, 0%, 46.3%) |
| CIE-LAB | lab(31.72, 10.26, -39.53) |
| CIE-LCH | lch(31.72, 40.84, 284.55°) |
| OKLab | oklab(41.47% -0.0181 -0.1132) |
| OKLCH | oklch(41.47% 0.115 260.9) |
| XYZ | xyz(7.6592, 6.9637, 24.6025) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.03
Darkish Blue
#014182
ΔE00 3.39
Dusk Blue
#26538D
ΔE00 3.64
Twilight Blue
#0A437A
ΔE00 3.72
Light Navy
#155084
ΔE00 4.58
Cobalt
#0047AB
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254989 #896525
analogous
#257B89 #254989 #332589
triadic
#254989 #892549 #498925
tetradic
#254989 #89257B #896525 #258933
square
#254989 #89257B #896525 #258933
split-complementary
#254989 #893325 #7B8925
monochromatic
#0B1629 #182F59 #254989 #3263B9 #5783D2
Accessibility & contrast
On white
8.78
#254989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#254989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254989
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254989 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29508B
Deuteranopia (green-blind)
#144688
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254989; /* rgb */ color: rgb(37, 73, 137); /* oklch */ color: oklch(41.5% 0.115 260.9);
Tailwind
colors: {
custom: {
50: '#6d7bac',
500: '#254989',
950: '#000000',
},
}SCSS
$custom: #254989; $custom-light: #6d7bac; $custom-dark: #000000;
JSON
{
"hex": "#254989",
"rgb": {
"r": 37,
"g": 73,
"b": 137
},
"hsl": {
"h": 218.4,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.4147,
"c": 0.11463,
"h": 260.9
},
"luminance": 0.06965
}Semantic roles & 50–950 ramp
primary
#254989
secondary
#B69354
accent
#A947E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F