#252B9E#252B9E
#252B9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.181 H 271.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #252B9E |
|---|---|
| RGB | rgb(37, 43, 158) |
| HSL | hsl(237, 62%, 38%) |
| HSV | hsv(237, 77%, 62%) |
| CMYK | cmyk(76.6%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(25.53, 38.24, -62.49) |
| CIE-LCH | lch(25.53, 73.26, 301.46°) |
| OKLab | oklab(37.4% 0.0045 -0.1809) |
| OKLCH | oklch(37.4% 0.181 271.4) |
| XYZ | xyz(7.7963, 4.5889, 32.8160) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.98
Royal
#0C1793
ΔE00 4.91
Indigo Blue
#3A18B1
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 6.20
Royal Blue (survey)
#0504AA
ΔE00 6.72
Ultramarine
#2000B1
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B9E #9E9825
analogous
#25679E #252B9E #5B259E
triadic
#252B9E #9E252B #2B9E25
tetradic
#252B9E #9E2567 #9E9825 #259E5B
square
#252B9E #9E2567 #9E9825 #259E5B
split-complementary
#252B9E #9E5B25 #679E25
monochromatic
#0E103B #191E6C #252B9E #3139CF #6369DA
Accessibility & contrast
On white
10.95
#252B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#252B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B9E
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B9E | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252b9e; /* rgb */ color: rgb(37, 43, 158); /* oklch */ color: oklch(37.4% 0.181 271.4);
Tailwind
colors: {
custom: {
50: '#7465bc',
500: '#252b9e',
950: '#000000',
},
}SCSS
$custom: #252b9e; $custom-light: #7465bc; $custom-dark: #000000;
JSON
{
"hex": "#252b9e",
"rgb": {
"r": 37,
"g": 43,
"b": 158
},
"hsl": {
"h": 237.025,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.37396,
"c": 0.18094,
"h": 271.4
},
"luminance": 0.0459
}Semantic roles & 50–950 ramp
primary
#252B9E
secondary
#C0BB5F
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81