#253F97#253F97
#253F97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.148 H 267.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #253F97 |
|---|---|
| RGB | rgb(37, 63, 151) |
| HSL | hsl(226, 61%, 37%) |
| HSV | hsv(226, 75%, 59%) |
| CMYK | cmyk(75.5%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.87, 22.55, -51.12) |
| CIE-LCH | lch(29.87, 55.87, 293.81°) |
| OKLab | oklab(40.38% -0.0078 -0.1474) |
| OKLCH | oklch(40.38% 0.148 267) |
| XYZ | xyz(8.1244, 6.1818, 30.0372) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 4.30
Blueberry
#464196
ΔE00 5.17
Darkish Blue
#014182
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F97 #977D25
analogous
#257897 #253F97 #442597
triadic
#253F97 #97253F #3F9725
tetradic
#253F97 #972578 #977D25 #259744
square
#253F97 #972578 #977D25 #259744
split-complementary
#253F97 #974425 #789725
monochromatic
#0D1635 #192A66 #253F97 #3154C8 #5F7AD8
Accessibility & contrast
On white
9.39
#253F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#253F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F97
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F97 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #253f97; /* rgb */ color: rgb(37, 63, 151); /* oklch */ color: oklch(40.4% 0.148 267.0);
Tailwind
colors: {
custom: {
50: '#7173b6',
500: '#253f97',
950: '#000000',
},
}SCSS
$custom: #253f97; $custom-light: #7173b6; $custom-dark: #000000;
JSON
{
"hex": "#253f97",
"rgb": {
"r": 37,
"g": 63,
"b": 151
},
"hsl": {
"h": 226.316,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.40383,
"c": 0.14766,
"h": 267
},
"luminance": 0.06183
}Semantic roles & 50–950 ramp
primary
#253F97
secondary
#BDA65B
accent
#BF44E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80