#252FB0#252FB0
#252FB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.199 H 270.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #252FB0 |
|---|---|
| RGB | rgb(37, 47, 176) |
| HSL | hsl(236, 65%, 42%) |
| HSV | hsv(236, 79%, 69%) |
| CMYK | cmyk(79%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.27, 42.13, -68.83) |
| CIE-LCH | lch(28.27, 80.70, 301.47°) |
| OKLab | oklab(39.92% 0.0001 -0.1993) |
| OKLCH | oklch(39.92% 0.199 270) |
| XYZ | xyz(9.6133, 5.5598, 41.6324) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Indigo Blue
#3A18B1
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.94
True Blue
#010FCC
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.55
Royal
#0C1793
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252FB0 #B0A625
analogous
#2575B0 #252FB0 #6025B0
triadic
#252FB0 #B0252F #2FB025
tetradic
#252FB0 #B02575 #B0A625 #25B060
square
#252FB0 #B02575 #B0A625 #25B060
split-complementary
#252FB0 #B06025 #75B025
monochromatic
#10144B #1A217D #252FB0 #3C47D6 #6F77E1
Accessibility & contrast
On white
9.94
#252FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#252FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252FB0
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252FB0 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #252fb0; /* rgb */ color: rgb(37, 47, 176); /* oklch */ color: oklch(39.9% 0.199 270.0);
Tailwind
colors: {
custom: {
50: '#7869c9',
500: '#252fb0',
950: '#000000',
},
}SCSS
$custom: #252fb0; $custom-light: #7869c9; $custom-dark: #000000;
JSON
{
"hex": "#252fb0",
"rgb": {
"r": 37,
"g": 47,
"b": 176
},
"hsl": {
"h": 235.683,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.39921,
"c": 0.19935,
"h": 270
},
"luminance": 0.05561
}Semantic roles & 50–950 ramp
primary
#252FB0
secondary
#C7C16A
accent
#DC40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82