#253F84#253F84
#253F84 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.120 H 265.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #253F84 |
|---|---|
| RGB | rgb(37, 63, 132) |
| HSL | hsl(224, 56%, 33%) |
| HSV | hsv(224, 72%, 52%) |
| CMYK | cmyk(72%, 52.3%, 0%, 48.2%) |
| CIE-LAB | lab(28.42, 15.14, -41.76) |
| CIE-LCH | lch(28.42, 44.42, 289.93°) |
| OKLab | oklab(38.83% -0.0093 -0.1199) |
| OKLCH | oklch(38.83% 0.12 265.6) |
| XYZ | xyz(6.7039, 5.6136, 22.5556) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.67
Darkish Blue
#014182
ΔE00 3.99
Twilight Blue
#0A437A
ΔE00 4.89
Marine Blue
#01386A
ΔE00 5.61
Cobalt
#0047AB
ΔE00 5.93
Blueberry
#464196
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F84 #846A25
analogous
#256E84 #253F84 #3A2584
triadic
#253F84 #84253F #3F8425
tetradic
#253F84 #84256E #846A25 #25843A
square
#253F84 #84256E #846A25 #25843A
split-complementary
#253F84 #843A25 #6E8425
monochromatic
#0A1124 #182854 #253F84 #3256B4 #5476CF
Accessibility & contrast
On white
9.89
#253F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#253F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F84
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F84 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164886
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #253f84; /* rgb */ color: rgb(37, 63, 132); /* oklch */ color: oklch(38.8% 0.120 265.6);
Tailwind
colors: {
custom: {
50: '#6c73a8',
500: '#253f84',
950: '#000000',
},
}SCSS
$custom: #253f84; $custom-light: #6c73a8; $custom-dark: #000000;
JSON
{
"hex": "#253f84",
"rgb": {
"r": 37,
"g": 63,
"b": 132
},
"hsl": {
"h": 223.579,
"s": 56.213,
"l": 33.137
},
"oklch": {
"l": 0.38829,
"c": 0.12029,
"h": 265.6
},
"luminance": 0.05614
}Semantic roles & 50–950 ramp
primary
#253F84
secondary
#B39951
accent
#B648E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F