#332BB0#332BB0
#332BB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.200 H 275.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #332BB0 |
|---|---|
| RGB | rgb(51, 43, 176) |
| HSL | hsl(244, 61%, 43%) |
| HSV | hsv(244, 76%, 69%) |
| CMYK | cmyk(71%, 75.6%, 0%, 31%) |
| CIE-LAB | lab(28.29, 45.64, -68.78) |
| CIE-LCH | lch(28.29, 82.54, 303.57°) |
| OKLab | oklab(40.15% 0.0181 -0.1989) |
| OKLCH | oklch(40.15% 0.2 275.2) |
| XYZ | xyz(10.0630, 5.5652, 41.6097) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.62
Sapphire (survey)
#2138AB
ΔE00 4.39
True Blue
#010FCC
ΔE00 5.28
Violet Blue
#510AC9
ΔE00 6.11
Mediumblue
#0000CD
ΔE00 6.17
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BB0 #A8B02B
analogous
#2B65B0 #332BB0 #752BB0
triadic
#332BB0 #B0332B #2BB033
tetradic
#332BB0 #B02B65 #A8B02B #2BB075
square
#332BB0 #B02B65 #A8B02B #2BB075
split-complementary
#332BB0 #B0752B #65B02B
monochromatic
#16134E #251F7F #332BB0 #4F46D2 #7E78DE
Accessibility & contrast
On white
9.94
#332BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#332BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BB0
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BB0 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #332bb0; /* rgb */ color: rgb(51, 43, 176); /* oklch */ color: oklch(40.2% 0.200 275.2);
Tailwind
colors: {
custom: {
50: '#7e67c9',
500: '#332bb0',
950: '#000000',
},
}SCSS
$custom: #332bb0; $custom-light: #7e67c9; $custom-dark: #000000;
JSON
{
"hex": "#332bb0",
"rgb": {
"r": 51,
"g": 43,
"b": 176
},
"hsl": {
"h": 243.609,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.40151,
"c": 0.19969,
"h": 275.2
},
"luminance": 0.05566
}Semantic roles & 50–950 ramp
primary
#332BB0
secondary
#C1C671
accent
#E444DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82