#253FA1#253FA1
#253FA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.162 H 267.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #253FA1 |
|---|---|
| RGB | rgb(37, 63, 161) |
| HSL | hsl(227, 63%, 39%) |
| HSV | hsv(227, 77%, 63%) |
| CMYK | cmyk(77%, 60.9%, 0%, 36.9%) |
| CIE-LAB | lab(30.69, 26.41, -55.85) |
| CIE-LCH | lch(30.69, 61.77, 295.31°) |
| OKLab | oklab(41.25% -0.0075 -0.1613) |
| OKLCH | oklch(41.25% 0.162 267.3) |
| XYZ | xyz(8.9712, 6.5205, 34.4971) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Cobalt
#0047AB
ΔE00 3.92
Blueberry
#464196
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 5.20
Blue Blue
#2242C7
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253FA1 #A18725
analogous
#257DA1 #253FA1 #4925A1
triadic
#253FA1 #A1253F #3FA125
tetradic
#253FA1 #A1257D #A18725 #25A149
square
#253FA1 #A1257D #A18725 #25A149
split-complementary
#253FA1 #A14925 #7DA125
monochromatic
#0E183D #1A2C6F #253FA1 #3354D0 #657EDC
Accessibility & contrast
On white
9.11
#253FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#253FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253FA1
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253FA1 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #253fa1; /* rgb */ color: rgb(37, 63, 161); /* oklch */ color: oklch(41.3% 0.162 267.3);
Tailwind
colors: {
custom: {
50: '#7373be',
500: '#253fa1',
950: '#000000',
},
}SCSS
$custom: #253fa1; $custom-light: #7373be; $custom-dark: #000000;
JSON
{
"hex": "#253fa1",
"rgb": {
"r": 37,
"g": 63,
"b": 161
},
"hsl": {
"h": 227.419,
"s": 62.626,
"l": 38.824
},
"oklch": {
"l": 0.41254,
"c": 0.16152,
"h": 267.3
},
"luminance": 0.06522
}Semantic roles & 50–950 ramp
primary
#253FA1
secondary
#C1AD61
accent
#C342E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81