#362BA1#362BA1
#362BA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.180 H 278.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #362BA1 |
|---|---|
| RGB | rgb(54, 43, 161) |
| HSL | hsl(246, 58%, 40%) |
| HSV | hsv(246, 73%, 63%) |
| CMYK | cmyk(66.5%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.97, 41.10, -61.90) |
| CIE-LCH | lch(26.97, 74.30, 303.59°) |
| OKLab | oklab(38.82% 0.0252 -0.1787) |
| OKLCH | oklch(38.82% 0.18 278) |
| XYZ | xyz(8.8161, 5.0845, 34.2281) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.20
Sapphire (survey)
#2138AB
ΔE00 4.67
Royal
#0C1793
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.59
Blueberry
#464196
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362BA1 #96A12B
analogous
#2B5BA1 #362BA1 #712BA1
triadic
#362BA1 #A1362B #2BA136
tetradic
#362BA1 #A12B5B #96A12B #2BA171
square
#362BA1 #A12B5B #96A12B #2BA171
split-complementary
#362BA1 #A1712B #5BA12B
monochromatic
#161140 #261E71 #362BA1 #4B3ECB #786ED8
Accessibility & contrast
On white
10.41
#362BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#362BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362BA1
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362BA1 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #362ba1; /* rgb */ color: rgb(54, 43, 161); /* oklch */ color: oklch(38.8% 0.180 278.0);
Tailwind
colors: {
custom: {
50: '#7c66be',
500: '#362ba1',
950: '#000000',
},
}SCSS
$custom: #362ba1; $custom-light: #7c66be; $custom-dark: #000000;
JSON
{
"hex": "#362ba1",
"rgb": {
"r": 54,
"g": 43,
"b": 161
},
"hsl": {
"h": 245.593,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38818,
"c": 0.18049,
"h": 278
},
"luminance": 0.05085
}Semantic roles & 50–950 ramp
primary
#362BA1
secondary
#B7BF69
accent
#E147D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81