#254C93#254C93
#254C93 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.125 H 261.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #254C93 |
|---|---|
| RGB | rgb(37, 76, 147) |
| HSL | hsl(219, 60%, 36%) |
| HSV | hsv(219, 75%, 58%) |
| CMYK | cmyk(74.8%, 48.3%, 0%, 42.4%) |
| CIE-LAB | lab(33.28, 12.15, -43.15) |
| CIE-LCH | lch(33.28, 44.83, 285.73°) |
| OKLab | oklab(42.88% -0.0191 -0.1238) |
| OKLCH | oklch(42.88% 0.125 261.2) |
| XYZ | xyz(8.6120, 7.6678, 28.6243) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.37
Dusk Blue
#26538D
ΔE00 2.97
Cobalt
#0047AB
ΔE00 3.72
Darkish Blue
#014182
ΔE00 4.44
Light Navy
#155084
ΔE00 4.49
Twilight Blue
#0A437A
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C93 #936C25
analogous
#258393 #254C93 #352593
triadic
#254C93 #93254C #4C9325
tetradic
#254C93 #932583 #936C25 #259335
square
#254C93 #932583 #936C25 #259335
split-complementary
#254C93 #933525 #839325
monochromatic
#0C1931 #193362 #254C93 #3165C4 #5C87D6
Accessibility & contrast
On white
8.29
#254C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#254C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C93
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C93 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#084A92
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254c93; /* rgb */ color: rgb(37, 76, 147); /* oklch */ color: oklch(42.9% 0.125 261.2);
Tailwind
colors: {
custom: {
50: '#6f7db3',
500: '#254c93',
950: '#000000',
},
}SCSS
$custom: #254c93; $custom-light: #6f7db3; $custom-dark: #000000;
JSON
{
"hex": "#254c93",
"rgb": {
"r": 37,
"g": 76,
"b": 147
},
"hsl": {
"h": 218.727,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.42881,
"c": 0.12527,
"h": 261.2
},
"luminance": 0.07669
}Semantic roles & 50–950 ramp
primary
#254C93
secondary
#BB9859
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80