#36229C#36229C
#36229C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.183 H 280.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #36229C |
|---|---|
| RGB | rgb(54, 34, 156) |
| HSL | hsl(250, 64%, 37%) |
| HSV | hsv(250, 78%, 61%) |
| CMYK | cmyk(65.4%, 78.2%, 0%, 38.8%) |
| CIE-LAB | lab(24.73, 44.41, -62.55) |
| CIE-LCH | lch(24.73, 76.71, 305.38°) |
| OKLab | oklab(37.08% 0.032 -0.1806) |
| OKLCH | oklch(37.08% 0.183 280.1) |
| XYZ | xyz(8.0922, 4.3280, 31.8550) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.28
Royal
#0C1793
ΔE00 4.24
Cobalt Blue
#030AA7
ΔE00 4.89
Ultramarine
#2000B1
ΔE00 5.09
Royal Blue (survey)
#0504AA
ΔE00 5.26
Indigo (survey)
#380282
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36229C #889C22
analogous
#224B9C #36229C #73229C
triadic
#36229C #9C3622 #229C36
tetradic
#36229C #9C224B #889C22 #229C73
square
#36229C #9C224B #889C22 #229C73
split-complementary
#36229C #9C7322 #4B9C22
monochromatic
#130C38 #25176A #36229C #472DCE #725DDC
Accessibility & contrast
On white
11.26
#36229C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#36229C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36229C
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36229C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36229C | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #36229c; /* rgb */ color: rgb(54, 34, 156); /* oklch */ color: oklch(37.1% 0.183 280.1);
Tailwind
colors: {
custom: {
50: '#7b60ba',
500: '#36229c',
950: '#000000',
},
}SCSS
$custom: #36229c; $custom-light: #7b60ba; $custom-dark: #000000;
JSON
{
"hex": "#36229c",
"rgb": {
"r": 54,
"g": 34,
"b": 156
},
"hsl": {
"h": 249.836,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.37078,
"c": 0.18338,
"h": 280.1
},
"luminance": 0.04329
}Semantic roles & 50–950 ramp
primary
#36229C
secondary
#AFC05A
accent
#E741CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981