#252BA9#252BA9
#252BA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.195 H 270.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #252BA9 |
|---|---|
| RGB | rgb(37, 43, 169) |
| HSL | hsl(237, 64%, 40%) |
| HSV | hsv(237, 78%, 66%) |
| CMYK | cmyk(78.1%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(26.69, 42.06, -67.24) |
| CIE-LCH | lch(26.69, 79.31, 302.03°) |
| OKLab | oklab(38.57% 0.0028 -0.1947) |
| OKLCH | oklch(38.57% 0.195 270.8) |
| XYZ | xyz(8.7858, 4.9847, 38.0275) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Indigo Blue
#3A18B1
ΔE00 4.52
Royal
#0C1793
ΔE00 5.53
True Blue
#010FCC
ΔE00 5.83
Cobalt Blue
#030AA7
ΔE00 6.02
Ultramarine
#2000B1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252BA9 #A9A325
analogous
#256DA9 #252BA9 #6125A9
triadic
#252BA9 #A9252B #2BA925
tetradic
#252BA9 #A9256D #A9A325 #25A961
square
#252BA9 #A9256D #A9A325 #25A961
split-complementary
#252BA9 #A96125 #6DA925
monochromatic
#0F1145 #1A1E77 #252BA9 #383FD3 #6A6FDE
Accessibility & contrast
On white
10.51
#252BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#252BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252BA9
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252BA9 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #252ba9; /* rgb */ color: rgb(37, 43, 169); /* oklch */ color: oklch(38.6% 0.195 270.8);
Tailwind
colors: {
custom: {
50: '#7766c4',
500: '#252ba9',
950: '#000000',
},
}SCSS
$custom: #252ba9; $custom-light: #7766c4; $custom-dark: #000000;
JSON
{
"hex": "#252ba9",
"rgb": {
"r": 37,
"g": 43,
"b": 169
},
"hsl": {
"h": 237.273,
"s": 64.078,
"l": 40.392
},
"oklch": {
"l": 0.38571,
"c": 0.19473,
"h": 270.8
},
"luminance": 0.04986
}Semantic roles & 50–950 ramp
primary
#252BA9
secondary
#C4C065
accent
#E041E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82