#254B97#254B97
#254B97 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.132 H 262.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #254B97 |
|---|---|
| RGB | rgb(37, 75, 151) |
| HSL | hsl(220, 61%, 37%) |
| HSV | hsv(220, 75%, 59%) |
| CMYK | cmyk(75.5%, 50.3%, 0%, 40.8%) |
| CIE-LAB | lab(33.26, 14.40, -45.62) |
| CIE-LCH | lch(33.26, 47.83, 287.52°) |
| OKLab | oklab(42.95% -0.0176 -0.1311) |
| OKLCH | oklch(42.95% 0.132 262.3) |
| XYZ | xyz(8.8629, 7.6589, 30.2834) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.53
Cobalt
#0047AB
ΔE00 3.13
Dusk Blue
#26538D
ΔE00 3.61
Darkish Blue
#014182
ΔE00 4.68
Sapphire
#0F52BA
ΔE00 4.85
Light Navy
#155084
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B97 #977125
analogous
#258497 #254B97 #382597
triadic
#254B97 #97254B #4B9725
tetradic
#254B97 #972584 #977125 #259738
square
#254B97 #972584 #977125 #259738
split-complementary
#254B97 #973825 #849725
monochromatic
#0D1A35 #193366 #254B97 #3163C8 #5F87D8
Accessibility & contrast
On white
8.29
#254B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#254B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B97
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B97 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254b97; /* rgb */ color: rgb(37, 75, 151); /* oklch */ color: oklch(43.0% 0.132 262.3);
Tailwind
colors: {
custom: {
50: '#707cb6',
500: '#254b97',
950: '#000000',
},
}SCSS
$custom: #254b97; $custom-light: #707cb6; $custom-dark: #000000;
JSON
{
"hex": "#254b97",
"rgb": {
"r": 37,
"g": 75,
"b": 151
},
"hsl": {
"h": 220,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.42954,
"c": 0.13224,
"h": 262.3
},
"luminance": 0.0766
}Semantic roles & 50–950 ramp
primary
#254B97
secondary
#BD9C5B
accent
#AF44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80