#362FA5#362FA5
#362FA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.181 H 276.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #362FA5 |
|---|---|
| RGB | rgb(54, 47, 165) |
| HSL | hsl(244, 56%, 42%) |
| HSV | hsv(244, 72%, 65%) |
| CMYK | cmyk(67.3%, 71.5%, 0%, 35.3%) |
| CIE-LAB | lab(28.20, 40.10, -62.30) |
| CIE-LCH | lch(28.20, 74.09, 302.77°) |
| OKLab | oklab(39.81% 0.0218 -0.1799) |
| OKLCH | oklch(39.81% 0.181 276.9) |
| XYZ | xyz(9.3272, 5.5331, 36.1665) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Indigo Blue
#3A18B1
ΔE00 4.83
Blueberry
#464196
ΔE00 6.04
Ocean Blue
#4F42B5
ΔE00 6.06
Royal
#0C1793
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#362FA5 #9EA52F
analogous
#2F63A5 #362FA5 #712FA5
triadic
#362FA5 #A5362F #2FA536
tetradic
#362FA5 #A52F63 #9EA52F #2FA571
square
#362FA5 #A52F63 #9EA52F #2FA571
split-complementary
#362FA5 #A5712F #63A52F
monochromatic
#171446 #262175 #362FA5 #4F47CB #7C76D8
Accessibility & contrast
On white
9.97
#362FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#362FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #362FA5
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##362FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##362FA5 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #362fa5; /* rgb */ color: rgb(54, 47, 165); /* oklch */ color: oklch(39.8% 0.181 276.9);
Tailwind
colors: {
custom: {
50: '#7c69c1',
500: '#362fa5',
950: '#000000',
},
}SCSS
$custom: #362fa5; $custom-light: #7c69c1; $custom-dark: #000000;
JSON
{
"hex": "#362fa5",
"rgb": {
"r": 54,
"g": 47,
"b": 165
},
"hsl": {
"h": 243.559,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.39813,
"c": 0.18122,
"h": 276.9
},
"luminance": 0.05534
}Semantic roles & 50–950 ramp
primary
#362FA5
secondary
#BBC070
accent
#DF49D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81