#254F96#254F96
#254F96 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.126 H 260.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #254F96 |
|---|---|
| RGB | rgb(37, 79, 150) |
| HSL | hsl(218, 60%, 37%) |
| HSV | hsv(218, 75%, 59%) |
| CMYK | cmyk(75.3%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.37, 11.32, -43.23) |
| CIE-LCH | lch(34.37, 44.69, 284.67°) |
| OKLab | oklab(43.78% -0.0213 -0.124) |
| OKLCH | oklch(43.78% 0.126 260.2) |
| XYZ | xyz(9.0620, 8.1863, 29.9508) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.19
Cobalt (survey)
#1E488F
ΔE00 2.33
Cobalt
#0047AB
ΔE00 3.95
Light Navy
#155084
ΔE00 4.10
Denim Blue
#3B5B92
ΔE00 4.27
Sapphire
#0F52BA
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F96 #966C25
analogous
#258896 #254F96 #342596
triadic
#254F96 #96254F #4F9625
tetradic
#254F96 #962588 #966C25 #259634
square
#254F96 #962588 #966C25 #259634
split-complementary
#254F96 #963425 #889625
monochromatic
#0D1B34 #193565 #254F96 #3169C7 #5E8BD7
Accessibility & contrast
On white
7.96
#254F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#254F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F96
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F96 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#0E4C95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254f96; /* rgb */ color: rgb(37, 79, 150); /* oklch */ color: oklch(43.8% 0.126 260.2);
Tailwind
colors: {
custom: {
50: '#707fb5',
500: '#254f96',
950: '#000000',
},
}SCSS
$custom: #254f96; $custom-light: #707fb5; $custom-dark: #000000;
JSON
{
"hex": "#254f96",
"rgb": {
"r": 37,
"g": 79,
"b": 150
},
"hsl": {
"h": 217.699,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.4378,
"c": 0.12579,
"h": 260.2
},
"luminance": 0.08187
}Semantic roles & 50–950 ramp
primary
#254F96
secondary
#BC985B
accent
#A844E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80