#254C96#254C96
#254C96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.130 H 261.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #254C96 |
|---|---|
| RGB | rgb(37, 76, 150) |
| HSL | hsl(219, 60%, 37%) |
| HSV | hsv(219, 75%, 59%) |
| CMYK | cmyk(75.3%, 49.3%, 0%, 41.2%) |
| CIE-LAB | lab(33.48, 13.33, -44.65) |
| CIE-LCH | lch(33.48, 46.60, 286.62°) |
| OKLab | oklab(43.1% -0.0187 -0.1282) |
| OKLCH | oklch(43.1% 0.13 261.7) |
| XYZ | xyz(8.8504, 7.7632, 29.8803) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.57
Dusk Blue
#26538D
ΔE00 3.19
Cobalt
#0047AB
ΔE00 3.38
Darkish Blue
#014182
ΔE00 4.69
Light Navy
#155084
ΔE00 4.77
Sapphire
#0F52BA
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C96 #966F25
analogous
#258596 #254C96 #372596
triadic
#254C96 #96254C #4C9625
tetradic
#254C96 #962585 #966F25 #259637
square
#254C96 #962585 #966F25 #259637
split-complementary
#254C96 #963725 #859625
monochromatic
#0D1A34 #193365 #254C96 #3165C7 #5E88D7
Accessibility & contrast
On white
8.23
#254C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#254C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C96
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C96 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235499
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254c96; /* rgb */ color: rgb(37, 76, 150); /* oklch */ color: oklch(43.1% 0.130 261.7);
Tailwind
colors: {
custom: {
50: '#707db5',
500: '#254c96',
950: '#000000',
},
}SCSS
$custom: #254c96; $custom-light: #707db5; $custom-dark: #000000;
JSON
{
"hex": "#254c96",
"rgb": {
"r": 37,
"g": 76,
"b": 150
},
"hsl": {
"h": 219.292,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.43102,
"c": 0.12955,
"h": 261.7
},
"luminance": 0.07764
}Semantic roles & 50–950 ramp
primary
#254C96
secondary
#BC9B5B
accent
#AD44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80