#253A8B#253A8B
#253A8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.137 H 268.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #253A8B |
|---|---|
| RGB | rgb(37, 58, 139) |
| HSL | hsl(228, 58%, 35%) |
| HSV | hsv(228, 73%, 55%) |
| CMYK | cmyk(73.4%, 58.3%, 0%, 45.5%) |
| CIE-LAB | lab(27.53, 21.32, -47.55) |
| CIE-LCH | lch(27.53, 52.11, 294.15°) |
| OKLab | oklab(38.32% -0.0043 -0.137) |
| OKLCH | oklch(38.32% 0.137 268.2) |
| XYZ | xyz(6.9346, 5.2828, 25.0753) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.41
Blueberry
#464196
ΔE00 5.42
Darkish Blue
#014182
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.05
Cobalt
#0047AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253A8B #8B7625
analogous
#256D8B #253A8B #43258B
triadic
#253A8B #8B253A #3A8B25
tetradic
#253A8B #8B256D #8B7625 #258B43
square
#253A8B #8B256D #8B7625 #258B43
split-complementary
#253A8B #8B4325 #6D8B25
monochromatic
#0B122A #18265B #253A8B #324EBB #5871D3
Accessibility & contrast
On white
10.21
#253A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#253A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253A8B
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253A8B | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #253a8b; /* rgb */ color: rgb(37, 58, 139); /* oklch */ color: oklch(38.3% 0.137 268.2);
Tailwind
colors: {
custom: {
50: '#6e6fae',
500: '#253a8b',
950: '#000000',
},
}SCSS
$custom: #253a8b; $custom-light: #6e6fae; $custom-dark: #000000;
JSON
{
"hex": "#253a8b",
"rgb": {
"r": 37,
"g": 58,
"b": 139
},
"hsl": {
"h": 227.647,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.38325,
"c": 0.13711,
"h": 268.2
},
"luminance": 0.05284
}Semantic roles & 50–950 ramp
primary
#253A8B
secondary
#B7A355
accent
#C147E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F