#252099#252099
#252099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.186 H 273.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #252099 |
|---|---|
| RGB | rgb(37, 32, 153) |
| HSL | hsl(242, 65%, 36%) |
| HSV | hsv(242, 79%, 60%) |
| CMYK | cmyk(75.8%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(22.74, 42.86, -64.03) |
| CIE-LCH | lch(22.74, 77.06, 303.80°) |
| OKLab | oklab(35.26% 0.0103 -0.1853) |
| OKLCH | oklch(35.26% 0.186 273.2) |
| XYZ | xyz(7.0273, 3.7255, 30.4796) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.54
Cobalt Blue
#030AA7
ΔE00 3.98
Indigo Blue
#3A18B1
ΔE00 4.30
Royal Blue (survey)
#0504AA
ΔE00 4.52
Ultramarine
#2000B1
ΔE00 4.93
Darkblue
#00008B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252099 #949920
analogous
#205899 #252099 #622099
triadic
#252099 #992520 #209925
tetradic
#252099 #992058 #949920 #209962
square
#252099 #992058 #949920 #209962
split-complementary
#252099 #996220 #589920
monochromatic
#0D0B34 #191566 #252099 #312BCC #5D57DC
Accessibility & contrast
On white
12.03
#252099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#252099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252099
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252099 | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252099; /* rgb */ color: rgb(37, 32, 153); /* oklch */ color: oklch(35.3% 0.186 273.2);
Tailwind
colors: {
custom: {
50: '#745eb8',
500: '#252099',
950: '#000000',
},
}SCSS
$custom: #252099; $custom-light: #745eb8; $custom-dark: #000000;
JSON
{
"hex": "#252099",
"rgb": {
"r": 37,
"g": 32,
"b": 153
},
"hsl": {
"h": 242.479,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.35259,
"c": 0.18557,
"h": 273.2
},
"luminance": 0.03726
}Semantic roles & 50–950 ramp
primary
#252099
secondary
#BBC055
accent
#E83FE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981