#253F9F#253F9F
#253F9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 267.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #253F9F |
|---|---|
| RGB | rgb(37, 63, 159) |
| HSL | hsl(227, 62%, 38%) |
| HSV | hsv(227, 77%, 62%) |
| CMYK | cmyk(76.7%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.52, 25.64, -54.91) |
| CIE-LCH | lch(30.52, 60.60, 295.03°) |
| OKLab | oklab(41.08% -0.0076 -0.1586) |
| OKLCH | oklch(41.08% 0.159 267.3) |
| XYZ | xyz(8.7963, 6.4506, 33.5757) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 5.00
Blueberry
#464196
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.51
Darkish Blue
#014182
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F9F #9F8525
analogous
#257C9F #253F9F #48259F
triadic
#253F9F #9F253F #3F9F25
tetradic
#253F9F #9F257C #9F8525 #259F48
square
#253F9F #9F257C #9F8525 #259F48
split-complementary
#253F9F #9F4825 #7C9F25
monochromatic
#0E183C #192B6D #253F9F #3253CF #647DDB
Accessibility & contrast
On white
9.17
#253F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#253F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F9F
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F9F | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #253f9f; /* rgb */ color: rgb(37, 63, 159); /* oklch */ color: oklch(41.1% 0.159 267.3);
Tailwind
colors: {
custom: {
50: '#7373bc',
500: '#253f9f',
950: '#000000',
},
}SCSS
$custom: #253f9f; $custom-light: #7373bc; $custom-dark: #000000;
JSON
{
"hex": "#253f9f",
"rgb": {
"r": 37,
"g": 63,
"b": 159
},
"hsl": {
"h": 227.213,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.41077,
"c": 0.15877,
"h": 267.3
},
"luminance": 0.06452
}Semantic roles & 50–950 ramp
primary
#253F9F
secondary
#C0AC5F
accent
#C342E5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81