#254A90#254A90
#254A90 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.123 H 261.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #254A90 |
|---|---|
| RGB | rgb(37, 74, 144) |
| HSL | hsl(219, 59%, 35%) |
| HSV | hsv(219, 74%, 56%) |
| CMYK | cmyk(74.3%, 48.6%, 0%, 43.5%) |
| CIE-LAB | lab(32.49, 12.33, -42.60) |
| CIE-LCH | lch(32.49, 44.35, 286.14°) |
| OKLab | oklab(42.21% -0.0178 -0.1222) |
| OKLCH | oklch(42.21% 0.123 261.7) |
| XYZ | xyz(8.2440, 7.3036, 27.3554) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.85
Dusk Blue
#26538D
ΔE00 3.51
Cobalt
#0047AB
ΔE00 3.85
Darkish Blue
#014182
ΔE00 3.96
Twilight Blue
#0A437A
ΔE00 4.44
Light Navy
#155084
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254A90 #906B25
analogous
#257F90 #254A90 #352590
triadic
#254A90 #90254A #4A9025
tetradic
#254A90 #90257F #906B25 #259035
square
#254A90 #90257F #906B25 #259035
split-complementary
#254A90 #903525 #7F9025
monochromatic
#0C182F #18315F #254A90 #3263C1 #5B85D5
Accessibility & contrast
On white
8.53
#254A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#254A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254A90
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254A90 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #254a90; /* rgb */ color: rgb(37, 74, 144); /* oklch */ color: oklch(42.2% 0.123 261.7);
Tailwind
colors: {
custom: {
50: '#6e7cb1',
500: '#254a90',
950: '#000000',
},
}SCSS
$custom: #254a90; $custom-light: #6e7cb1; $custom-dark: #000000;
JSON
{
"hex": "#254a90",
"rgb": {
"r": 37,
"g": 74,
"b": 144
},
"hsl": {
"h": 219.252,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.42207,
"c": 0.12349,
"h": 261.7
},
"luminance": 0.07304
}Semantic roles & 50–950 ramp
primary
#254A90
secondary
#B99857
accent
#AC45E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80