#254C90#254C90
#254C90 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.121 H 260.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #254C90 |
|---|---|
| RGB | rgb(37, 76, 144) |
| HSL | hsl(218, 59%, 35%) |
| HSV | hsv(218, 74%, 56%) |
| CMYK | cmyk(74.3%, 47.2%, 0%, 43.5%) |
| CIE-LAB | lab(33.08, 10.98, -41.65) |
| CIE-LCH | lch(33.08, 43.07, 284.77°) |
| OKLab | oklab(42.66% -0.0196 -0.1194) |
| OKLCH | oklch(42.66% 0.121 260.7) |
| XYZ | xyz(8.3796, 7.5749, 27.4006) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.30
Dusk Blue
#26538D
ΔE00 2.78
Cobalt
#0047AB
ΔE00 4.06
Light Navy
#155084
ΔE00 4.21
Darkish Blue
#014182
ΔE00 4.22
Twilight Blue
#0A437A
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C90 #906925
analogous
#258190 #254C90 #342590
triadic
#254C90 #90254C #4C9025
tetradic
#254C90 #902581 #906925 #259034
square
#254C90 #902581 #906925 #259034
split-complementary
#254C90 #903425 #819025
monochromatic
#0C192F #18325F #254C90 #3266C1 #5B87D5
Accessibility & contrast
On white
8.35
#254C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#254C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C90
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C90 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295393
Deuteranopia (green-blind)
#11498F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254c90; /* rgb */ color: rgb(37, 76, 144); /* oklch */ color: oklch(42.7% 0.121 260.7);
Tailwind
colors: {
custom: {
50: '#6e7db1',
500: '#254c90',
950: '#000000',
},
}SCSS
$custom: #254c90; $custom-light: #6e7db1; $custom-dark: #000000;
JSON
{
"hex": "#254c90",
"rgb": {
"r": 37,
"g": 76,
"b": 144
},
"hsl": {
"h": 218.131,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.42663,
"c": 0.12097,
"h": 260.7
},
"luminance": 0.07576
}Semantic roles & 50–950 ramp
primary
#254C90
secondary
#B99657
accent
#A945E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80