#254E8F#254E8F
#254E8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.117 H 259.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #254E8F |
|---|---|
| RGB | rgb(37, 78, 143) |
| HSL | hsl(217, 59%, 35%) |
| HSV | hsv(217, 74%, 56%) |
| CMYK | cmyk(74.1%, 45.5%, 0%, 43.9%) |
| CIE-LAB | lab(33.61, 9.24, -40.18) |
| CIE-LCH | lch(33.61, 41.23, 282.96°) |
| OKLab | oklab(43.05% -0.0217 -0.115) |
| OKLCH | oklch(43.05% 0.117 259.3) |
| XYZ | xyz(8.4435, 7.8243, 27.0465) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.97
Dusk Blue
#26538D
ΔE00 1.97
Light Navy
#155084
ΔE00 3.59
Cobalt
#0047AB
ΔE00 4.48
Denim Blue
#3B5B92
ΔE00 4.53
Darkish Blue
#014182
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E8F #8F6625
analogous
#25838F #254E8F #31258F
triadic
#254E8F #8F254E #4E8F25
tetradic
#254E8F #8F2583 #8F6625 #258F31
square
#254E8F #8F2583 #8F6625 #258F31
split-complementary
#254E8F #8F3125 #838F25
monochromatic
#0C192E #18335E #254E8F #3269C0 #5A89D4
Accessibility & contrast
On white
8.19
#254E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#254E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E8F
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E8F | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#194B8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254e8f; /* rgb */ color: rgb(37, 78, 143); /* oklch */ color: oklch(43.1% 0.117 259.3);
Tailwind
colors: {
custom: {
50: '#6e7fb0',
500: '#254e8f',
950: '#000000',
},
}SCSS
$custom: #254e8f; $custom-light: #6e7fb0; $custom-dark: #000000;
JSON
{
"hex": "#254e8f",
"rgb": {
"r": 37,
"g": 78,
"b": 143
},
"hsl": {
"h": 216.792,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.43053,
"c": 0.11705,
"h": 259.3
},
"luminance": 0.07825
}Semantic roles & 50–950 ramp
primary
#254E8F
secondary
#B99357
accent
#A646E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F