#254B91#254B91
#254B91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.124 H 261.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #254B91 |
|---|---|
| RGB | rgb(37, 75, 145) |
| HSL | hsl(219, 59%, 36%) |
| HSV | hsv(219, 74%, 57%) |
| CMYK | cmyk(74.5%, 48.3%, 0%, 43.1%) |
| CIE-LAB | lab(32.85, 12.04, -42.63) |
| CIE-LCH | lch(32.85, 44.29, 285.78°) |
| OKLab | oklab(42.51% -0.0186 -0.1223) |
| OKLCH | oklch(42.51% 0.124 261.4) |
| XYZ | xyz(8.3880, 7.4689, 27.7821) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.06
Dusk Blue
#26538D
ΔE00 3.20
Cobalt
#0047AB
ΔE00 3.82
Darkish Blue
#014182
ΔE00 4.15
Twilight Blue
#0A437A
ΔE00 4.56
Light Navy
#155084
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B91 #916B25
analogous
#258191 #254B91 #352591
triadic
#254B91 #91254B #4B9125
tetradic
#254B91 #912581 #916B25 #259135
square
#254B91 #912581 #916B25 #259135
split-complementary
#254B91 #913525 #819125
monochromatic
#0C192F #193260 #254B91 #3164C2 #5B86D5
Accessibility & contrast
On white
8.42
#254B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#254B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B91
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B91 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254b91; /* rgb */ color: rgb(37, 75, 145); /* oklch */ color: oklch(42.5% 0.124 261.4);
Tailwind
colors: {
custom: {
50: '#6f7cb2',
500: '#254b91',
950: '#000000',
},
}SCSS
$custom: #254b91; $custom-light: #6f7cb2; $custom-dark: #000000;
JSON
{
"hex": "#254b91",
"rgb": {
"r": 37,
"g": 75,
"b": 145
},
"hsl": {
"h": 218.889,
"s": 59.341,
"l": 35.686
},
"oklch": {
"l": 0.42508,
"c": 0.12367,
"h": 261.4
},
"luminance": 0.0747
}Semantic roles & 50–950 ramp
primary
#254B91
secondary
#BA9758
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80