#253A98#253A98
#253A98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.155 H 268.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #253A98 |
|---|---|
| RGB | rgb(37, 58, 152) |
| HSL | hsl(229, 61%, 37%) |
| HSV | hsv(229, 76%, 60%) |
| CMYK | cmyk(75.7%, 61.8%, 0%, 40.4%) |
| CIE-LAB | lab(28.61, 26.32, -53.78) |
| CIE-LCH | lch(28.61, 59.88, 296.08°) |
| OKLab | oklab(39.47% -0.0041 -0.1553) |
| OKLCH | oklch(39.47% 0.155 268.5) |
| XYZ | xyz(7.9415, 5.6856, 30.3786) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.93
Blueberry
#464196
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.52
Cobalt (survey)
#1E488F
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.12
Blue Blue
#2242C7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253A98 #988325
analogous
#257498 #253A98 #492598
triadic
#253A98 #98253A #3A9825
tetradic
#253A98 #982574 #988325 #259849
square
#253A98 #982574 #988325 #259849
split-complementary
#253A98 #984925 #749825
monochromatic
#0D1436 #192767 #253A98 #314DC9 #5F75D8
Accessibility & contrast
On white
9.83
#253A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#253A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253A98
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253A98 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #253a98; /* rgb */ color: rgb(37, 58, 152); /* oklch */ color: oklch(39.5% 0.155 268.5);
Tailwind
colors: {
custom: {
50: '#7170b7',
500: '#253a98',
950: '#000000',
},
}SCSS
$custom: #253a98; $custom-light: #7170b7; $custom-dark: #000000;
JSON
{
"hex": "#253a98",
"rgb": {
"r": 37,
"g": 58,
"b": 152
},
"hsl": {
"h": 229.043,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.39467,
"c": 0.1554,
"h": 268.5
},
"luminance": 0.05686
}Semantic roles & 50–950 ramp
primary
#253A98
secondary
#BDAB5C
accent
#C744E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80