#254F91#254F91
#254F91 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.119 H 259.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #254F91 |
|---|---|
| RGB | rgb(37, 79, 145) |
| HSL | hsl(217, 59%, 36%) |
| HSV | hsv(217, 74%, 57%) |
| CMYK | cmyk(74.5%, 45.5%, 0%, 43.1%) |
| CIE-LAB | lab(34.04, 9.36, -40.71) |
| CIE-LCH | lch(34.04, 41.78, 282.94°) |
| OKLab | oklab(43.43% -0.0223 -0.1166) |
| OKLCH | oklch(43.43% 0.119 259.2) |
| XYZ | xyz(8.6679, 8.0287, 27.8754) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.74
Cobalt (survey)
#1E488F
ΔE00 2.28
Light Navy
#155084
ΔE00 3.56
Denim Blue
#3B5B92
ΔE00 4.26
Light Navy Blue
#2E5A88
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F91 #916725
analogous
#258591 #254F91 #312591
triadic
#254F91 #91254F #4F9125
tetradic
#254F91 #912585 #916725 #259131
square
#254F91 #912585 #916725 #259131
split-complementary
#254F91 #913125 #859125
monochromatic
#0C1A2F #193460 #254F91 #316AC2 #5B8BD5
Accessibility & contrast
On white
8.06
#254F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#254F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F91
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F91 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5594
Deuteranopia (green-blind)
#194B90
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254f91; /* rgb */ color: rgb(37, 79, 145); /* oklch */ color: oklch(43.4% 0.119 259.2);
Tailwind
colors: {
custom: {
50: '#6e7fb2',
500: '#254f91',
950: '#000000',
},
}SCSS
$custom: #254f91; $custom-light: #6e7fb2; $custom-dark: #000000;
JSON
{
"hex": "#254f91",
"rgb": {
"r": 37,
"g": 79,
"b": 145
},
"hsl": {
"h": 216.667,
"s": 59.341,
"l": 35.686
},
"oklch": {
"l": 0.43425,
"c": 0.11868,
"h": 259.2
},
"luminance": 0.0803
}Semantic roles & 50–950 ramp
primary
#254F91
secondary
#BA9458
accent
#A545E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80