#362BA2#362BA2
#362BA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.182 H 277.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #362BA2 |
|---|---|
| RGB | rgb(54, 43, 162) |
| HSL | hsl(246, 58%, 40%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(66.7%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(27.07, 41.43, -62.34) |
| CIE-LCH | lch(27.07, 74.85, 303.61°) |
| OKLab | oklab(38.92% 0.025 -0.18) |
| OKLCH | oklch(38.92% 0.182 277.9) |
| XYZ | xyz(8.9047, 5.1199, 34.6944) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.12
Sapphire (survey)
#2138AB
ΔE00 4.64
Royal
#0C1793
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.54
True Blue
#010FCC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362BA2 #97A22B
analogous
#2B5CA2 #362BA2 #712BA2
triadic
#362BA2 #A2362B #2BA236
tetradic
#362BA2 #A22B5C #97A22B #2BA271
square
#362BA2 #A22B5C #97A22B #2BA271
split-complementary
#362BA2 #A2712B #5CA22B
monochromatic
#161141 #261E72 #362BA2 #4B3ECC #786FD9
Accessibility & contrast
On white
10.37
#362BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#362BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362BA2
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362BA2 | 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)
#0045A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #362ba2; /* rgb */ color: rgb(54, 43, 162); /* oklch */ color: oklch(38.9% 0.182 277.9);
Tailwind
colors: {
custom: {
50: '#7c66bf',
500: '#362ba2',
950: '#000000',
},
}SCSS
$custom: #362ba2; $custom-light: #7c66bf; $custom-dark: #000000;
JSON
{
"hex": "#362ba2",
"rgb": {
"r": 54,
"g": 43,
"b": 162
},
"hsl": {
"h": 245.546,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.38919,
"c": 0.18175,
"h": 277.9
},
"luminance": 0.05121
}Semantic roles & 50–950 ramp
primary
#362BA2
secondary
#B8C069
accent
#E147D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81