#252F9F#252F9F
#252F9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.178 H 270.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #252F9F |
|---|---|
| RGB | rgb(37, 47, 159) |
| HSL | hsl(235, 62%, 38%) |
| HSV | hsv(235, 77%, 62%) |
| CMYK | cmyk(76.7%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.53, 36.12, -61.45) |
| CIE-LCH | lch(26.53, 71.28, 300.45°) |
| OKLab | oklab(38.15% 0.0023 -0.1779) |
| OKLCH | oklch(38.15% 0.178 270.7) |
| XYZ | xyz(8.0353, 4.9287, 33.3220) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Royal
#0C1793
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 6.15
Blueberry
#464196
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 7.06
Cobalt Blue
#030AA7
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F9F #9F9525
analogous
#256C9F #252F9F #58259F
triadic
#252F9F #9F252F #2F9F25
tetradic
#252F9F #9F256C #9F9525 #259F58
square
#252F9F #9F256C #9F9525 #259F58
split-complementary
#252F9F #9F5825 #6C9F25
monochromatic
#0E123C #19206D #252F9F #323FCF #646DDB
Accessibility & contrast
On white
10.57
#252F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#252F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F9F
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F9F | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #252f9f; /* rgb */ color: rgb(37, 47, 159); /* oklch */ color: oklch(38.1% 0.178 270.7);
Tailwind
colors: {
custom: {
50: '#7468bc',
500: '#252f9f',
950: '#000000',
},
}SCSS
$custom: #252f9f; $custom-light: #7468bc; $custom-dark: #000000;
JSON
{
"hex": "#252f9f",
"rgb": {
"r": 37,
"g": 47,
"b": 159
},
"hsl": {
"h": 235.082,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.38147,
"c": 0.17788,
"h": 270.7
},
"luminance": 0.0493
}Semantic roles & 50–950 ramp
primary
#252F9F
secondary
#C0B85F
accent
#D842E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81