#254CA2#254CA2
#254CA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.146 H 263.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #254CA2 |
|---|---|
| RGB | rgb(37, 76, 162) |
| HSL | hsl(221, 63%, 39%) |
| HSV | hsv(221, 77%, 64%) |
| CMYK | cmyk(77.2%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(34.33, 18.03, -50.52) |
| CIE-LCH | lch(34.33, 53.65, 289.64°) |
| OKLab | oklab(44.02% -0.0171 -0.1455) |
| OKLCH | oklch(44.02% 0.146 263.3) |
| XYZ | xyz(9.8667, 8.1697, 35.2323) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.31
Cobalt (survey)
#1E488F
ΔE00 2.95
Sapphire
#0F52BA
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 4.33
Denim Blue
#3B5B92
ΔE00 5.56
Darkish Blue
#014182
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CA2 #A27B25
analogous
#258BA2 #254CA2 #3D25A2
triadic
#254CA2 #A2254C #4CA225
tetradic
#254CA2 #A2258B #A27B25 #25A23D
square
#254CA2 #A2258B #A27B25 #25A23D
split-complementary
#254CA2 #A23D25 #8BA225
monochromatic
#0E1D3E #1A3570 #254CA2 #3465D1 #658ADC
Accessibility & contrast
On white
7.97
#254CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#254CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CA2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CA2 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254ca2; /* rgb */ color: rgb(37, 76, 162); /* oklch */ color: oklch(44.0% 0.146 263.3);
Tailwind
colors: {
custom: {
50: '#737dbe',
500: '#254ca2',
950: '#000000',
},
}SCSS
$custom: #254ca2; $custom-light: #737dbe; $custom-dark: #000000;
JSON
{
"hex": "#254ca2",
"rgb": {
"r": 37,
"g": 76,
"b": 162
},
"hsl": {
"h": 221.28,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.44021,
"c": 0.14649,
"h": 263.3
},
"luminance": 0.08171
}Semantic roles & 50–950 ramp
primary
#254CA2
secondary
#C2A461
accent
#B342E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81