#253F9B#253F9B
#253F9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.153 H 267.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #253F9B |
|---|---|
| RGB | rgb(37, 63, 155) |
| HSL | hsl(227, 61%, 38%) |
| HSV | hsv(227, 76%, 61%) |
| CMYK | cmyk(76.1%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.19, 24.10, -53.02) |
| CIE-LCH | lch(30.19, 58.24, 294.44°) |
| OKLab | oklab(40.73% -0.0077 -0.153) |
| OKLCH | oklch(40.73% 0.153 267.1) |
| XYZ | xyz(8.4548, 6.3140, 31.7771) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Cobalt
#0047AB
ΔE00 4.05
Cobalt (survey)
#1E488F
ΔE00 4.63
Blueberry
#464196
ΔE00 5.09
Darkish Blue
#014182
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F9B #9B8125
analogous
#257A9B #253F9B #46259B
triadic
#253F9B #9B253F #3F9B25
tetradic
#253F9B #9B257A #9B8125 #259B46
square
#253F9B #9B257A #9B8125 #259B46
split-complementary
#253F9B #9B4625 #7A9B25
monochromatic
#0D1738 #192B6A #253F9B #3153CC #617CD9
Accessibility & contrast
On white
9.28
#253F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#253F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F9B
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F9B | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #253f9b; /* rgb */ color: rgb(37, 63, 155); /* oklch */ color: oklch(40.7% 0.153 267.1);
Tailwind
colors: {
custom: {
50: '#7273b9',
500: '#253f9b',
950: '#000000',
},
}SCSS
$custom: #253f9b; $custom-light: #7273b9; $custom-dark: #000000;
JSON
{
"hex": "#253f9b",
"rgb": {
"r": 37,
"g": 63,
"b": 155
},
"hsl": {
"h": 226.78,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.40727,
"c": 0.15324,
"h": 267.1
},
"luminance": 0.06315
}Semantic roles & 50–950 ramp
primary
#253F9B
secondary
#BFA95D
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81