#362AA4#362AA4
#362AA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.185 H 277.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #362AA4 |
|---|---|
| RGB | rgb(54, 42, 164) |
| HSL | hsl(246, 59%, 40%) |
| HSV | hsv(246, 74%, 64%) |
| CMYK | cmyk(67.1%, 74.4%, 0%, 35.7%) |
| CIE-LAB | lab(27.07, 42.64, -63.55) |
| CIE-LCH | lch(27.07, 76.53, 303.86°) |
| OKLab | oklab(38.98% 0.0252 -0.1835) |
| OKLCH | oklch(38.98% 0.185 277.8) |
| XYZ | xyz(9.0480, 5.1198, 35.6262) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.79
Royal
#0C1793
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 6.17
Ultramarine
#2000B1
ΔE00 6.24
True Blue
#010FCC
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362AA4 #98A42A
analogous
#2A5BA4 #362AA4 #732AA4
triadic
#362AA4 #A4362A #2AA436
tetradic
#362AA4 #A42A5B #98A42A #2AA473
square
#362AA4 #A42A5B #98A42A #2AA473
split-complementary
#362AA4 #A4732A #5BA42A
monochromatic
#161143 #261E73 #362AA4 #4C3ECD #796EDA
Accessibility & contrast
On white
10.37
#362AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#362AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362AA4
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362AA4 | 1.00 | 10.37 | 2.02 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #362aa4; /* rgb */ color: rgb(54, 42, 164); /* oklch */ color: oklch(39.0% 0.185 277.8);
Tailwind
colors: {
custom: {
50: '#7c66c0',
500: '#362aa4',
950: '#000000',
},
}SCSS
$custom: #362aa4; $custom-light: #7c66c0; $custom-dark: #000000;
JSON
{
"hex": "#362aa4",
"rgb": {
"r": 54,
"g": 42,
"b": 164
},
"hsl": {
"h": 245.902,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.38979,
"c": 0.18527,
"h": 277.8
},
"luminance": 0.05121
}Semantic roles & 50–950 ramp
primary
#362AA4
secondary
#B8C169
accent
#E245D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81