#362FA6#362FA6
#362FA6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.182 H 276.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #362FA6 |
|---|---|
| RGB | rgb(54, 47, 166) |
| HSL | hsl(244, 56%, 42%) |
| HSV | hsv(244, 72%, 65%) |
| CMYK | cmyk(67.5%, 71.7%, 0%, 34.9%) |
| CIE-LAB | lab(28.30, 40.43, -62.74) |
| CIE-LCH | lch(28.30, 74.64, 302.80°) |
| OKLab | oklab(39.91% 0.0216 -0.1812) |
| OKLCH | oklch(39.91% 0.182 276.8) |
| XYZ | xyz(9.4185, 5.5697, 36.6477) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Indigo Blue
#3A18B1
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 6.01
Blueberry
#464196
ΔE00 6.10
Royal
#0C1793
ΔE00 6.65
Blue With A Hint Of Purple
#533CC6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362FA6 #9FA62F
analogous
#2F64A6 #362FA6 #722FA6
triadic
#362FA6 #A6362F #2FA636
tetradic
#362FA6 #A62F64 #9FA62F #2FA672
square
#362FA6 #A62F64 #9FA62F #2FA672
split-complementary
#362FA6 #A6722F #64A62F
monochromatic
#171447 #262176 #362FA6 #4F47CB #7D77D8
Accessibility & contrast
On white
9.93
#362FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#362FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362FA6
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362FA6 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #362fa6; /* rgb */ color: rgb(54, 47, 166); /* oklch */ color: oklch(39.9% 0.182 276.8);
Tailwind
colors: {
custom: {
50: '#7c69c2',
500: '#362fa6',
950: '#000000',
},
}SCSS
$custom: #362fa6; $custom-light: #7c69c2; $custom-dark: #000000;
JSON
{
"hex": "#362fa6",
"rgb": {
"r": 54,
"g": 47,
"b": 166
},
"hsl": {
"h": 243.529,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.39912,
"c": 0.18249,
"h": 276.8
},
"luminance": 0.0557
}Semantic roles & 50–950 ramp
primary
#362FA6
secondary
#BCC170
accent
#DF49D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81