#254E9F#254E9F
#254E9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.140 H 262.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #254E9F |
|---|---|
| RGB | rgb(37, 78, 159) |
| HSL | hsl(220, 62%, 38%) |
| HSV | hsv(220, 77%, 62%) |
| CMYK | cmyk(76.7%, 50.9%, 0%, 37.6%) |
| CIE-LAB | lab(34.69, 15.51, -48.15) |
| CIE-LCH | lch(34.69, 50.58, 287.86°) |
| OKLab | oklab(44.22% -0.0191 -0.1384) |
| OKLCH | oklch(44.22% 0.14 262.1) |
| XYZ | xyz(9.7431, 8.3442, 33.8913) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.76
Cobalt
#0047AB
ΔE00 2.93
Dusk Blue
#26538D
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 3.57
Denim Blue
#3B5B92
ΔE00 4.83
Light Navy
#155084
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E9F #9F7625
analogous
#258B9F #254E9F #39259F
triadic
#254E9F #9F254E #4E9F25
tetradic
#254E9F #9F258B #9F7625 #259F39
square
#254E9F #9F258B #9F7625 #259F39
split-complementary
#254E9F #9F3925 #8B9F25
monochromatic
#0E1D3C #19366D #254E9F #3267CF #648CDB
Accessibility & contrast
On white
7.87
#254E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#254E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E9F
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E9F | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D57A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254e9f; /* rgb */ color: rgb(37, 78, 159); /* oklch */ color: oklch(44.2% 0.140 262.1);
Tailwind
colors: {
custom: {
50: '#727fbc',
500: '#254e9f',
950: '#000000',
},
}SCSS
$custom: #254e9f; $custom-light: #727fbc; $custom-dark: #000000;
JSON
{
"hex": "#254e9f",
"rgb": {
"r": 37,
"g": 78,
"b": 159
},
"hsl": {
"h": 219.836,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.44223,
"c": 0.13976,
"h": 262.1
},
"luminance": 0.08345
}Semantic roles & 50–950 ramp
primary
#254E9F
secondary
#C0A05F
accent
#AF42E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81