#332CA0#332CA0
#332CA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.179 H 276.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #332CA0 |
|---|---|
| RGB | rgb(51, 44, 160) |
| HSL | hsl(244, 57%, 40%) |
| HSV | hsv(244, 73%, 63%) |
| CMYK | cmyk(68.1%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(26.86, 39.83, -61.49) |
| CIE-LCH | lch(26.86, 73.26, 302.93°) |
| OKLab | oklab(38.65% 0.0207 -0.1776) |
| OKLCH | oklch(38.65% 0.179 276.6) |
| XYZ | xyz(8.6090, 5.0425, 33.7705) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 4.62
Royal
#0C1793
ΔE00 5.64
Blueberry
#464196
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332CA0 #99A02C
analogous
#2C5FA0 #332CA0 #6D2CA0
triadic
#332CA0 #A0332C #2CA033
tetradic
#332CA0 #A02C5F #99A02C #2CA06D
square
#332CA0 #A02C5F #99A02C #2CA06D
split-complementary
#332CA0 #A06D2C #5FA02C
monochromatic
#141240 #241F70 #332CA0 #473FCA #756FD7
Accessibility & contrast
On white
10.46
#332CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#332CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332CA0
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332CA0 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332ca0; /* rgb */ color: rgb(51, 44, 160); /* oklch */ color: oklch(38.6% 0.179 276.6);
Tailwind
colors: {
custom: {
50: '#7a67bd',
500: '#332ca0',
950: '#000000',
},
}SCSS
$custom: #332ca0; $custom-light: #7a67bd; $custom-dark: #000000;
JSON
{
"hex": "#332ca0",
"rgb": {
"r": 51,
"g": 44,
"b": 160
},
"hsl": {
"h": 243.621,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.38645,
"c": 0.17883,
"h": 276.6
},
"luminance": 0.05043
}Semantic roles & 50–950 ramp
primary
#332CA0
secondary
#B9BF69
accent
#E048D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81