#254990#254990
#254990 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.125 H 262.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #254990 |
|---|---|
| RGB | rgb(37, 73, 144) |
| HSL | hsl(220, 59%, 35%) |
| HSV | hsv(220, 74%, 56%) |
| CMYK | cmyk(74.3%, 49.3%, 0%, 43.5%) |
| CIE-LAB | lab(32.19, 13.00, -43.07) |
| CIE-LCH | lch(32.19, 44.99, 286.80°) |
| OKLab | oklab(41.98% -0.0169 -0.1236) |
| OKLCH | oklch(41.98% 0.125 262.2) |
| XYZ | xyz(8.1777, 7.1711, 27.3333) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.82
Cobalt
#0047AB
ΔE00 3.79
Dusk Blue
#26538D
ΔE00 3.88
Darkish Blue
#014182
ΔE00 3.88
Twilight Blue
#0A437A
ΔE00 4.45
Light Navy
#155084
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254990 #906C25
analogous
#257E90 #254990 #362590
triadic
#254990 #902549 #499025
tetradic
#254990 #90257E #906C25 #259036
square
#254990 #90257E #906C25 #259036
split-complementary
#254990 #903625 #7E9025
monochromatic
#0C182F #18305F #254990 #3262C1 #5B84D5
Accessibility & contrast
On white
8.63
#254990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#254990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254990
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254990 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225193
Deuteranopia (green-blind)
#02478F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #254990; /* rgb */ color: rgb(37, 73, 144); /* oklch */ color: oklch(42.0% 0.125 262.2);
Tailwind
colors: {
custom: {
50: '#6e7bb1',
500: '#254990',
950: '#000000',
},
}SCSS
$custom: #254990; $custom-light: #6e7bb1; $custom-dark: #000000;
JSON
{
"hex": "#254990",
"rgb": {
"r": 37,
"g": 73,
"b": 144
},
"hsl": {
"h": 219.813,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.41981,
"c": 0.12477,
"h": 262.2
},
"luminance": 0.07172
}Semantic roles & 50–950 ramp
primary
#254990
secondary
#B99857
accent
#AE45E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80