#252199#252199
#252199 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.185 H 273.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #252199 |
|---|---|
| RGB | rgb(37, 33, 153) |
| HSL | hsl(242, 65%, 36%) |
| HSV | hsv(242, 78%, 60%) |
| CMYK | cmyk(75.8%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(22.93, 42.32, -63.72) |
| CIE-LCH | lch(22.93, 76.50, 303.59°) |
| OKLab | oklab(35.39% 0.0099 -0.1844) |
| OKLCH | oklch(35.39% 0.185 273.1) |
| XYZ | xyz(7.0547, 3.7802, 30.4887) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.69
Cobalt Blue
#030AA7
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 4.38
Royal Blue (survey)
#0504AA
ΔE00 4.71
Ultramarine
#2000B1
ΔE00 5.11
Darkblue
#00008B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252199 #959921
analogous
#215999 #252199 #612199
triadic
#252199 #992521 #219925
tetradic
#252199 #992159 #959921 #219961
square
#252199 #992159 #959921 #219961
split-complementary
#252199 #996121 #599921
monochromatic
#0D0B34 #191667 #252199 #312CCB #5E59DB
Accessibility & contrast
On white
11.96
#252199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#252199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252199
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252199 | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #252199; /* rgb */ color: rgb(37, 33, 153); /* oklch */ color: oklch(35.4% 0.185 273.1);
Tailwind
colors: {
custom: {
50: '#745fb8',
500: '#252199',
950: '#000000',
},
}SCSS
$custom: #252199; $custom-light: #745fb8; $custom-dark: #000000;
JSON
{
"hex": "#252199",
"rgb": {
"r": 37,
"g": 33,
"b": 153
},
"hsl": {
"h": 242,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.35391,
"c": 0.18466,
"h": 273.1
},
"luminance": 0.03781
}Semantic roles & 50–950 ramp
primary
#252199
secondary
#BCBF56
accent
#E840E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981