#254A89#254A89
#254A89 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.113 H 260.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #254A89 |
|---|---|
| RGB | rgb(37, 74, 137) |
| HSL | hsl(218, 57%, 34%) |
| HSV | hsv(218, 73%, 54%) |
| CMYK | cmyk(73%, 46%, 0%, 46.3%) |
| CIE-LAB | lab(32.02, 9.58, -39.05) |
| CIE-LCH | lch(32.02, 40.21, 283.79°) |
| OKLab | oklab(41.7% -0.019 -0.1118) |
| OKLCH | oklch(41.7% 0.113 260.3) |
| XYZ | xyz(7.7255, 7.0962, 24.6246) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.15
Dusk Blue
#26538D
ΔE00 3.27
Darkish Blue
#014182
ΔE00 3.51
Twilight Blue
#0A437A
ΔE00 3.73
Light Navy
#155084
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254A89 #896425
analogous
#257C89 #254A89 #322589
triadic
#254A89 #89254A #4A8925
tetradic
#254A89 #89257C #896425 #258932
square
#254A89 #89257C #896425 #258932
split-complementary
#254A89 #893225 #7C8925
monochromatic
#0B1629 #183059 #254A89 #3264B9 #5784D2
Accessibility & contrast
On white
8.68
#254A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#254A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254A89
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254A89 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254a89; /* rgb */ color: rgb(37, 74, 137); /* oklch */ color: oklch(41.7% 0.113 260.3);
Tailwind
colors: {
custom: {
50: '#6d7cac',
500: '#254a89',
950: '#000000',
},
}SCSS
$custom: #254a89; $custom-light: #6d7cac; $custom-dark: #000000;
JSON
{
"hex": "#254a89",
"rgb": {
"r": 37,
"g": 74,
"b": 137
},
"hsl": {
"h": 217.8,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.41702,
"c": 0.11338,
"h": 260.3
},
"luminance": 0.07097
}Semantic roles & 50–950 ramp
primary
#254A89
secondary
#B69254
accent
#A847E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F