#254C97#254C97
#254C97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.131 H 261.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #254C97 |
|---|---|
| RGB | rgb(37, 76, 151) |
| HSL | hsl(219, 61%, 37%) |
| HSV | hsv(219, 75%, 59%) |
| CMYK | cmyk(75.5%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(33.55, 13.72, -45.15) |
| CIE-LCH | lch(33.55, 47.19, 286.91°) |
| OKLab | oklab(43.18% -0.0185 -0.1297) |
| OKLCH | oklch(43.18% 0.131 261.9) |
| XYZ | xyz(8.9313, 7.7956, 30.3061) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Cobalt
#0047AB
ΔE00 3.27
Dusk Blue
#26538D
ΔE00 3.27
Sapphire
#0F52BA
ΔE00 4.70
Darkish Blue
#014182
ΔE00 4.78
Light Navy
#155084
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C97 #977025
analogous
#258597 #254C97 #372597
triadic
#254C97 #97254C #4C9725
tetradic
#254C97 #972585 #977025 #259737
square
#254C97 #972585 #977025 #259737
split-complementary
#254C97 #973725 #859725
monochromatic
#0D1B35 #193366 #254C97 #3165C8 #5F88D8
Accessibility & contrast
On white
8.21
#254C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#254C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C97
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C97 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254c97; /* rgb */ color: rgb(37, 76, 151); /* oklch */ color: oklch(43.2% 0.131 261.9);
Tailwind
colors: {
custom: {
50: '#707db6',
500: '#254c97',
950: '#000000',
},
}SCSS
$custom: #254c97; $custom-light: #707db6; $custom-dark: #000000;
JSON
{
"hex": "#254c97",
"rgb": {
"r": 37,
"g": 76,
"b": 151
},
"hsl": {
"h": 219.474,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.43177,
"c": 0.13098,
"h": 261.9
},
"luminance": 0.07797
}Semantic roles & 50–950 ramp
primary
#254C97
secondary
#BD9B5B
accent
#AD44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80