#332BA8#332BA8
#332BA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.190 H 276.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #332BA8 |
|---|---|
| RGB | rgb(51, 43, 168) |
| HSL | hsl(244, 59%, 41%) |
| HSV | hsv(244, 74%, 66%) |
| CMYK | cmyk(69.6%, 74.4%, 0%, 34.1%) |
| CIE-LAB | lab(27.46, 43.04, -65.34) |
| CIE-LCH | lch(27.46, 78.25, 303.37°) |
| OKLab | oklab(39.32% 0.0198 -0.1889) |
| OKLCH | oklch(39.32% 0.19 276) |
| XYZ | xyz(9.2947, 5.2579, 37.5632) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.31
Royal
#0C1793
ΔE00 5.92
True Blue
#010FCC
ΔE00 5.95
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BA8 #A0A82B
analogous
#2B62A8 #332BA8 #722BA8
triadic
#332BA8 #A8332B #2BA833
tetradic
#332BA8 #A82B62 #A0A82B #2BA872
square
#332BA8 #A82B62 #A0A82B #2BA872
split-complementary
#332BA8 #A8722B #62A82B
monochromatic
#151247 #241F77 #332BA8 #4B42CF #7972DB
Accessibility & contrast
On white
10.23
#332BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#332BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BA8
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BA8 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #332ba8; /* rgb */ color: rgb(51, 43, 168); /* oklch */ color: oklch(39.3% 0.190 276.0);
Tailwind
colors: {
custom: {
50: '#7c66c3',
500: '#332ba8',
950: '#000000',
},
}SCSS
$custom: #332ba8; $custom-light: #7c66c3; $custom-dark: #000000;
JSON
{
"hex": "#332ba8",
"rgb": {
"r": 51,
"g": 43,
"b": 168
},
"hsl": {
"h": 243.84,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.39316,
"c": 0.18989,
"h": 276
},
"luminance": 0.05259
}Semantic roles & 50–950 ramp
primary
#332BA8
secondary
#BDC26C
accent
#E245D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82