#252C99#252C99
#252C99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.173 H 271.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #252C99 |
|---|---|
| RGB | rgb(37, 44, 153) |
| HSL | hsl(236, 61%, 37%) |
| HSV | hsv(236, 76%, 60%) |
| CMYK | cmyk(75.8%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.24, 35.85, -59.91) |
| CIE-LCH | lch(25.24, 69.82, 300.90°) |
| OKLab | oklab(37.04% 0.0047 -0.1734) |
| OKLCH | oklch(37.04% 0.173 271.5) |
| XYZ | xyz(7.4115, 4.4938, 30.6076) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Royal
#0C1793
ΔE00 5.06
Indigo Blue
#3A18B1
ΔE00 6.05
Cobalt Blue
#030AA7
ΔE00 6.70
Blueberry
#464196
ΔE00 6.89
Darkslateblue
#483D8B
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C99 #999225
analogous
#256699 #252C99 #582599
triadic
#252C99 #99252C #2C9925
tetradic
#252C99 #992566 #999225 #259958
square
#252C99 #992566 #999225 #259958
split-complementary
#252C99 #995825 #669925
monochromatic
#0D1036 #191E68 #252C99 #313ACA #6067D9
Accessibility & contrast
On white
11.06
#252C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#252C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C99
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C99 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252c99; /* rgb */ color: rgb(37, 44, 153); /* oklch */ color: oklch(37.0% 0.173 271.5);
Tailwind
colors: {
custom: {
50: '#7366b8',
500: '#252c99',
950: '#000000',
},
}SCSS
$custom: #252c99; $custom-light: #7366b8; $custom-dark: #000000;
JSON
{
"hex": "#252c99",
"rgb": {
"r": 37,
"g": 44,
"b": 153
},
"hsl": {
"h": 236.379,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.37035,
"c": 0.17342,
"h": 271.5
},
"luminance": 0.04495
}Semantic roles & 50–950 ramp
primary
#252C99
secondary
#BEB85C
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80