#254CA3#254CA3
#254CA3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.148 H 263.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #254CA3 |
|---|---|
| RGB | rgb(37, 76, 163) |
| HSL | hsl(221, 63%, 39%) |
| HSV | hsv(221, 77%, 64%) |
| CMYK | cmyk(77.3%, 53.4%, 0%, 36.1%) |
| CIE-LAB | lab(34.41, 18.42, -51.01) |
| CIE-LCH | lch(34.41, 54.23, 289.86°) |
| OKLab | oklab(44.1% -0.017 -0.1469) |
| OKLCH | oklch(44.1% 0.148 263.4) |
| XYZ | xyz(9.9559, 8.2054, 35.7023) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.26
Cobalt (survey)
#1E488F
ΔE00 3.08
Sapphire
#0F52BA
ΔE00 3.52
Dusk Blue
#26538D
ΔE00 4.44
Denim Blue
#3B5B92
ΔE00 5.62
Darkish Blue
#014182
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CA3 #A37C25
analogous
#258BA3 #254CA3 #3D25A3
triadic
#254CA3 #A3254C #4CA325
tetradic
#254CA3 #A3258B #A37C25 #25A33D
square
#254CA3 #A3258B #A37C25 #25A33D
split-complementary
#254CA3 #A33D25 #8BA325
monochromatic
#0E1D3F #1A3571 #254CA3 #3465D1 #668BDC
Accessibility & contrast
On white
7.95
#254CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#254CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CA3
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CA3 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D57A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254ca3; /* rgb */ color: rgb(37, 76, 163); /* oklch */ color: oklch(44.1% 0.148 263.4);
Tailwind
colors: {
custom: {
50: '#737dbf',
500: '#254ca3',
950: '#000000',
},
}SCSS
$custom: #254ca3; $custom-light: #737dbf; $custom-dark: #000000;
JSON
{
"hex": "#254ca3",
"rgb": {
"r": 37,
"g": 76,
"b": 163
},
"hsl": {
"h": 221.429,
"s": 63,
"l": 39.216
},
"oklch": {
"l": 0.44099,
"c": 0.14788,
"h": 263.4
},
"luminance": 0.08207
}Semantic roles & 50–950 ramp
primary
#254CA3
secondary
#C2A462
accent
#B342E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81