#252B9F#252B9F
#252B9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.182 H 271.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #252B9F |
|---|---|
| RGB | rgb(37, 43, 159) |
| HSL | hsl(237, 62%, 38%) |
| HSV | hsv(237, 77%, 62%) |
| CMYK | cmyk(76.7%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(25.63, 38.59, -62.93) |
| CIE-LCH | lch(25.63, 73.82, 301.52°) |
| OKLab | oklab(37.5% 0.0043 -0.1822) |
| OKLCH | oklch(37.5% 0.182 271.4) |
| XYZ | xyz(7.8827, 4.6234, 33.2711) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Royal
#0C1793
ΔE00 4.95
Indigo Blue
#3A18B1
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 6.16
Royal Blue (survey)
#0504AA
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B9F #9F9925
analogous
#25689F #252B9F #5C259F
triadic
#252B9F #9F252B #2B9F25
tetradic
#252B9F #9F2568 #9F9925 #259F5C
square
#252B9F #9F2568 #9F9925 #259F5C
split-complementary
#252B9F #9F5C25 #689F25
monochromatic
#0E103C #191E6D #252B9F #323ACF #6469DB
Accessibility & contrast
On white
10.91
#252B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#252B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B9F
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B9F | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #252b9f; /* rgb */ color: rgb(37, 43, 159); /* oklch */ color: oklch(37.5% 0.182 271.4);
Tailwind
colors: {
custom: {
50: '#7465bd',
500: '#252b9f',
950: '#000000',
},
}SCSS
$custom: #252b9f; $custom-light: #7465bd; $custom-dark: #000000;
JSON
{
"hex": "#252b9f",
"rgb": {
"r": 37,
"g": 43,
"b": 159
},
"hsl": {
"h": 237.049,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.37502,
"c": 0.18221,
"h": 271.4
},
"luminance": 0.04624
}Semantic roles & 50–950 ramp
primary
#252B9F
secondary
#C0BC5F
accent
#DD42E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81