#36339F#36339F
#36339F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.169 H 276.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #36339F |
|---|---|
| RGB | rgb(54, 51, 159) |
| HSL | hsl(242, 51%, 41%) |
| HSV | hsv(242, 68%, 62%) |
| CMYK | cmyk(66%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(28.52, 35.66, -58.14) |
| CIE-LCH | lch(28.52, 68.20, 301.52°) |
| OKLab | oklab(39.87% 0.0198 -0.1677) |
| OKLCH | oklch(39.87% 0.169 276.7) |
| XYZ | xyz(8.9611, 5.6544, 33.4133) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Blueberry
#464196
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.81
Indigo Blue
#3A18B1
ΔE00 6.24
Blue Blue
#2242C7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36339F #9C9F33
analogous
#33669F #36339F #6C339F
triadic
#36339F #9F3633 #339F36
tetradic
#36339F #9F3366 #9C9F33 #339F6C
square
#36339F #9F3366 #9C9F33 #339F6C
split-complementary
#36339F #9F6C33 #669F33
monochromatic
#171542 #262471 #36339F #4E4AC5 #7B79D4
Accessibility & contrast
On white
9.85
#36339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#36339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36339F
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36339F | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #36339f; /* rgb */ color: rgb(54, 51, 159); /* oklch */ color: oklch(39.9% 0.169 276.7);
Tailwind
colors: {
custom: {
50: '#7b6bbc',
500: '#36339f',
950: '#000000',
},
}SCSS
$custom: #36339f; $custom-light: #7b6bbc; $custom-dark: #000000;
JSON
{
"hex": "#36339f",
"rgb": {
"r": 54,
"g": 51,
"b": 159
},
"hsl": {
"h": 241.667,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.39871,
"c": 0.1689,
"h": 276.7
},
"luminance": 0.05655
}Semantic roles & 50–950 ramp
primary
#36339F
secondary
#BABC71
accent
#DB4DD7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81