#254A8B#254A8B
#254A8B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.116 H 260.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #254A8B |
|---|---|
| RGB | rgb(37, 74, 139) |
| HSL | hsl(218, 58%, 35%) |
| HSV | hsv(218, 73%, 55%) |
| CMYK | cmyk(73.4%, 46.8%, 0%, 45.5%) |
| CIE-LAB | lab(32.16, 10.37, -40.07) |
| CIE-LCH | lch(32.16, 41.39, 284.50°) |
| OKLab | oklab(41.84% -0.0187 -0.1148) |
| OKLCH | oklch(41.84% 0.116 260.8) |
| XYZ | xyz(7.8703, 7.1541, 25.3872) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.97
Dusk Blue
#26538D
ΔE00 3.32
Darkish Blue
#014182
ΔE00 3.62
Twilight Blue
#0A437A
ΔE00 3.92
Light Navy
#155084
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254A8B #8B6625
analogous
#257D8B #254A8B #33258B
triadic
#254A8B #8B254A #4A8B25
tetradic
#254A8B #8B257D #8B6625 #258B33
square
#254A8B #8B257D #8B6625 #258B33
split-complementary
#254A8B #8B3325 #7D8B25
monochromatic
#0B172A #18305B #254A8B #3264BB #5884D3
Accessibility & contrast
On white
8.64
#254A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#254A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254A8B
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254A8B | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29518D
Deuteranopia (green-blind)
#14478A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #254a8b; /* rgb */ color: rgb(37, 74, 139); /* oklch */ color: oklch(41.8% 0.116 260.8);
Tailwind
colors: {
custom: {
50: '#6d7cad',
500: '#254a8b',
950: '#000000',
},
}SCSS
$custom: #254a8b; $custom-light: #6d7cad; $custom-dark: #000000;
JSON
{
"hex": "#254a8b",
"rgb": {
"r": 37,
"g": 74,
"b": 139
},
"hsl": {
"h": 218.235,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.41844,
"c": 0.11628,
"h": 260.8
},
"luminance": 0.07155
}Semantic roles & 50–950 ramp
primary
#254A8B
secondary
#B79355
accent
#A947E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F