#254896#254896
#254896 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.135 H 263.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #254896 |
|---|---|
| RGB | rgb(37, 72, 150) |
| HSL | hsl(221, 60%, 37%) |
| HSV | hsv(221, 75%, 59%) |
| CMYK | cmyk(75.3%, 52%, 0%, 41.2%) |
| CIE-LAB | lab(32.32, 16.04, -46.52) |
| CIE-LCH | lch(32.32, 49.21, 289.02°) |
| OKLab | oklab(42.22% -0.0152 -0.1338) |
| OKLCH | oklch(42.22% 0.135 263.5) |
| XYZ | xyz(8.5834, 7.2291, 29.7912) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.56
Cobalt
#0047AB
ΔE00 3.05
Darkish Blue
#014182
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 4.58
Twilight Blue
#0A437A
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254896 #967325
analogous
#258196 #254896 #3B2596
triadic
#254896 #962548 #489625
tetradic
#254896 #962581 #967325 #25963B
square
#254896 #962581 #967325 #25963B
split-complementary
#254896 #963B25 #819625
monochromatic
#0D1934 #193065 #254896 #3160C7 #5E84D7
Accessibility & contrast
On white
8.59
#254896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#254896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254896
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254896 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #254896; /* rgb */ color: rgb(37, 72, 150); /* oklch */ color: oklch(42.2% 0.135 263.5);
Tailwind
colors: {
custom: {
50: '#707ab5',
500: '#254896',
950: '#000000',
},
}SCSS
$custom: #254896; $custom-light: #707ab5; $custom-dark: #000000;
JSON
{
"hex": "#254896",
"rgb": {
"r": 37,
"g": 72,
"b": 150
},
"hsl": {
"h": 221.416,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.42215,
"c": 0.13465,
"h": 263.5
},
"luminance": 0.0723
}Semantic roles & 50–950 ramp
primary
#254896
secondary
#BC9E5B
accent
#B244E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80