#254C8F#254C8F
#254C8F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.120 H 260.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #254C8F |
|---|---|
| RGB | rgb(37, 76, 143) |
| HSL | hsl(218, 59%, 35%) |
| HSV | hsv(218, 74%, 56%) |
| CMYK | cmyk(74.1%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(33.02, 10.58, -41.14) |
| CIE-LCH | lch(33.02, 42.48, 284.43°) |
| OKLab | oklab(42.59% -0.0198 -0.1179) |
| OKLCH | oklch(42.59% 0.12 260.5) |
| XYZ | xyz(8.3035, 7.5445, 26.9999) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.31
Dusk Blue
#26538D
ΔE00 2.72
Light Navy
#155084
ΔE00 4.12
Darkish Blue
#014182
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.17
Twilight Blue
#0A437A
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C8F #8F6825
analogous
#25818F #254C8F #33258F
triadic
#254C8F #8F254C #4C8F25
tetradic
#254C8F #8F2581 #8F6825 #258F33
square
#254C8F #8F2581 #8F6825 #258F33
split-complementary
#254C8F #8F3325 #818F25
monochromatic
#0C182E #18325E #254C8F #3266C0 #5A87D4
Accessibility & contrast
On white
8.37
#254C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#254C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C8F
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C8F | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#13498E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254c8f; /* rgb */ color: rgb(37, 76, 143); /* oklch */ color: oklch(42.6% 0.120 260.5);
Tailwind
colors: {
custom: {
50: '#6e7db0',
500: '#254c8f',
950: '#000000',
},
}SCSS
$custom: #254c8f; $custom-light: #6e7db0; $custom-dark: #000000;
JSON
{
"hex": "#254c8f",
"rgb": {
"r": 37,
"g": 76,
"b": 143
},
"hsl": {
"h": 217.925,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.42591,
"c": 0.11954,
"h": 260.5
},
"luminance": 0.07545
}Semantic roles & 50–950 ramp
primary
#254C8F
secondary
#B99557
accent
#A946E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F