#36229F#36229F
#36229F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.187 H 279.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #36229F |
|---|---|
| RGB | rgb(54, 34, 159) |
| HSL | hsl(250, 65%, 38%) |
| HSV | hsv(250, 79%, 62%) |
| CMYK | cmyk(66%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(25.05, 45.34, -63.85) |
| CIE-LCH | lch(25.05, 78.31, 305.38°) |
| OKLab | oklab(37.4% 0.0312 -0.1844) |
| OKLCH | oklch(37.4% 0.187 279.6) |
| XYZ | xyz(8.3494, 4.4309, 33.2094) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.91
Royal
#0C1793
ΔE00 4.39
Cobalt Blue
#030AA7
ΔE00 4.80
Ultramarine
#2000B1
ΔE00 4.89
Royal Blue (survey)
#0504AA
ΔE00 5.15
True Blue
#010FCC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36229F #8B9F22
analogous
#224C9F #36229F #74229F
triadic
#36229F #9F3622 #229F36
tetradic
#36229F #9F224C #8B9F22 #229F74
square
#36229F #9F224C #8B9F22 #229F74
split-complementary
#36229F #9F7422 #4C9F22
monochromatic
#140C3A #25176D #36229F #472DD1 #735FDD
Accessibility & contrast
On white
11.13
#36229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#36229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36229F
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36229F | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #36229f; /* rgb */ color: rgb(54, 34, 159); /* oklch */ color: oklch(37.4% 0.187 279.6);
Tailwind
colors: {
custom: {
50: '#7c61bd',
500: '#36229f',
950: '#000000',
},
}SCSS
$custom: #36229f; $custom-light: #7c61bd; $custom-dark: #000000;
JSON
{
"hex": "#36229f",
"rgb": {
"r": 54,
"g": 34,
"b": 159
},
"hsl": {
"h": 249.6,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.37397,
"c": 0.18698,
"h": 279.6
},
"luminance": 0.04432
}Semantic roles & 50–950 ramp
primary
#36229F
secondary
#B1C15B
accent
#E840CD
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981