#362AA5#362AA5
#362AA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.187 H 277.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #362AA5 |
|---|---|
| RGB | rgb(54, 42, 165) |
| HSL | hsl(246, 59%, 41%) |
| HSV | hsv(246, 75%, 65%) |
| CMYK | cmyk(67.3%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(27.17, 42.96, -63.99) |
| CIE-LCH | lch(27.17, 77.07, 303.88°) |
| OKLab | oklab(39.08% 0.025 -0.1848) |
| OKLCH | oklch(39.08% 0.187 277.7) |
| XYZ | xyz(9.1386, 5.1560, 36.1036) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.77
Royal
#0C1793
ΔE00 5.73
True Blue
#010FCC
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362AA5 #99A52A
analogous
#2A5BA5 #362AA5 #732AA5
triadic
#362AA5 #A5362A #2AA536
tetradic
#362AA5 #A52A5B #99A52A #2AA573
square
#362AA5 #A52A5B #99A52A #2AA573
split-complementary
#362AA5 #A5732A #5BA52A
monochromatic
#161143 #261E74 #362AA5 #4C3ECE #7A6FDA
Accessibility & contrast
On white
10.34
#362AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#362AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362AA5
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362AA5 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #362aa5; /* rgb */ color: rgb(54, 42, 165); /* oklch */ color: oklch(39.1% 0.187 277.7);
Tailwind
colors: {
custom: {
50: '#7d66c1',
500: '#362aa5',
950: '#000000',
},
}SCSS
$custom: #362aa5; $custom-light: #7d66c1; $custom-dark: #000000;
JSON
{
"hex": "#362aa5",
"rgb": {
"r": 54,
"g": 42,
"b": 165
},
"hsl": {
"h": 245.854,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.39081,
"c": 0.18651,
"h": 277.7
},
"luminance": 0.05157
}Semantic roles & 50–950 ramp
primary
#362AA5
secondary
#B9C169
accent
#E345D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81