#254B90#254B90
#254B90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.122 H 261.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #254B90 |
|---|---|
| RGB | rgb(37, 75, 144) |
| HSL | hsl(219, 59%, 35%) |
| HSV | hsv(219, 74%, 56%) |
| CMYK | cmyk(74.3%, 47.9%, 0%, 43.5%) |
| CIE-LAB | lab(32.78, 11.65, -42.12) |
| CIE-LCH | lch(32.78, 43.70, 285.46°) |
| OKLab | oklab(42.44% -0.0187 -0.1208) |
| OKLCH | oklch(42.44% 0.122 261.2) |
| XYZ | xyz(8.3113, 7.4382, 27.3778) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.03
Dusk Blue
#26538D
ΔE00 3.15
Cobalt
#0047AB
ΔE00 3.94
Darkish Blue
#014182
ΔE00 4.08
Twilight Blue
#0A437A
ΔE00 4.46
Light Navy
#155084
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B90 #906A25
analogous
#258090 #254B90 #352590
triadic
#254B90 #90254B #4B9025
tetradic
#254B90 #902580 #906A25 #259035
square
#254B90 #902580 #906A25 #259035
split-complementary
#254B90 #903525 #809025
monochromatic
#0C182F #18325F #254B90 #3264C1 #5B86D5
Accessibility & contrast
On white
8.44
#254B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#254B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B90
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B90 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265293
Deuteranopia (green-blind)
#0C498F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254b90; /* rgb */ color: rgb(37, 75, 144); /* oklch */ color: oklch(42.4% 0.122 261.2);
Tailwind
colors: {
custom: {
50: '#6e7cb1',
500: '#254b90',
950: '#000000',
},
}SCSS
$custom: #254b90; $custom-light: #6e7cb1; $custom-dark: #000000;
JSON
{
"hex": "#254b90",
"rgb": {
"r": 37,
"g": 75,
"b": 144
},
"hsl": {
"h": 218.692,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.42435,
"c": 0.12223,
"h": 261.2
},
"luminance": 0.07439
}Semantic roles & 50–950 ramp
primary
#254B90
secondary
#B99757
accent
#AB45E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80