#362AA6#362AA6
#362AA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.188 H 277.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #362AA6 |
|---|---|
| RGB | rgb(54, 42, 166) |
| HSL | hsl(246, 60%, 41%) |
| HSV | hsv(246, 75%, 65%) |
| CMYK | cmyk(67.5%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(27.28, 43.28, -64.43) |
| CIE-LCH | lch(27.28, 77.62, 303.89°) |
| OKLab | oklab(39.18% 0.0248 -0.1861) |
| OKLCH | oklch(39.18% 0.188 277.6) |
| XYZ | xyz(9.2300, 5.1926, 36.5849) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.63
Sapphire (survey)
#2138AB
ΔE00 4.75
Royal
#0C1793
ΔE00 5.80
True Blue
#010FCC
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362AA6 #9AA62A
analogous
#2A5CA6 #362AA6 #742AA6
triadic
#362AA6 #A6362A #2AA636
tetradic
#362AA6 #A62A5C #9AA62A #2AA674
square
#362AA6 #A62A5C #9AA62A #2AA674
split-complementary
#362AA6 #A6742A #5CA62A
monochromatic
#161144 #261E75 #362AA6 #4D3FCE #7A70DB
Accessibility & contrast
On white
10.30
#362AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#362AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362AA6
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362AA6 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #362aa6; /* rgb */ color: rgb(54, 42, 166); /* oklch */ color: oklch(39.2% 0.188 277.6);
Tailwind
colors: {
custom: {
50: '#7d66c2',
500: '#362aa6',
950: '#000000',
},
}SCSS
$custom: #362aa6; $custom-light: #7d66c2; $custom-dark: #000000;
JSON
{
"hex": "#362aa6",
"rgb": {
"r": 54,
"g": 42,
"b": 166
},
"hsl": {
"h": 245.806,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.39184,
"c": 0.18774,
"h": 277.6
},
"luminance": 0.05193
}Semantic roles & 50–950 ramp
primary
#362AA6
secondary
#B9C26A
accent
#E345D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81