#254E99#254E99
#254E99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.131 H 261.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #254E99 |
|---|---|
| RGB | rgb(37, 78, 153) |
| HSL | hsl(219, 61%, 37%) |
| HSV | hsv(219, 76%, 60%) |
| CMYK | cmyk(75.8%, 49%, 0%, 40%) |
| CIE-LAB | lab(34.27, 13.16, -45.20) |
| CIE-LCH | lch(34.27, 47.07, 286.24°) |
| OKLab | oklab(43.77% -0.02 -0.1298) |
| OKLCH | oklch(43.77% 0.131 261.3) |
| XYZ | xyz(9.2350, 8.1410, 31.2155) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.22
Dusk Blue
#26538D
ΔE00 2.81
Cobalt
#0047AB
ΔE00 3.44
Sapphire
#0F52BA
ΔE00 4.24
Denim Blue
#3B5B92
ΔE00 4.61
Light Navy
#155084
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E99 #997025
analogous
#258899 #254E99 #362599
triadic
#254E99 #99254E #4E9925
tetradic
#254E99 #992588 #997025 #259936
square
#254E99 #992588 #997025 #259936
split-complementary
#254E99 #993625 #889925
monochromatic
#0D1C36 #193568 #254E99 #3167CA #608BD9
Accessibility & contrast
On white
7.99
#254E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#254E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E99
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E99 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#004C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254e99; /* rgb */ color: rgb(37, 78, 153); /* oklch */ color: oklch(43.8% 0.131 261.3);
Tailwind
colors: {
custom: {
50: '#707fb7',
500: '#254e99',
950: '#000000',
},
}SCSS
$custom: #254e99; $custom-light: #707fb7; $custom-dark: #000000;
JSON
{
"hex": "#254e99",
"rgb": {
"r": 37,
"g": 78,
"b": 153
},
"hsl": {
"h": 218.793,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.43773,
"c": 0.1313,
"h": 261.3
},
"luminance": 0.08142
}Semantic roles & 50–950 ramp
primary
#254E99
secondary
#BE9B5C
accent
#AB44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80