#332FBC#332FBC
#332FBC is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.210 H 273.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #332FBC |
|---|---|
| RGB | rgb(51, 47, 188) |
| HSL | hsl(242, 60%, 46%) |
| HSV | hsv(242, 75%, 74%) |
| CMYK | cmyk(72.9%, 75%, 0%, 26.3%) |
| CIE-LAB | lab(30.32, 47.33, -72.56) |
| CIE-LCH | lch(30.32, 86.63, 303.12°) |
| OKLab | oklab(41.96% 0.0137 -0.2099) |
| OKLCH | oklch(41.96% 0.21 273.7) |
| XYZ | xyz(11.4558, 6.3665, 48.1923) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Indigo Blue
#3A18B1
ΔE00 4.75
Blue With A Hint Of Purple
#533CC6
ΔE00 5.04
Blurple
#5539CC
ΔE00 5.25
True Blue
#010FCC
ΔE00 5.43
Blue Blue
#2242C7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FBC #B8BC2F
analogous
#2F71BC #332FBC #792FBC
triadic
#332FBC #BC332F #2FBC33
tetradic
#332FBC #BC2F71 #B8BC2F #2FBC79
square
#332FBC #BC2F71 #B8BC2F #2FBC79
split-complementary
#332FBC #BC792F #71BC2F
monochromatic
#18175A #26238B #332FBC #5854D4 #8885E0
Accessibility & contrast
On white
9.24
#332FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#332FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FBC
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FBC | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #332fbc; /* rgb */ color: rgb(51, 47, 188); /* oklch */ color: oklch(42.0% 0.210 273.7);
Tailwind
colors: {
custom: {
50: '#806ad1',
500: '#332fbc',
950: '#000000',
},
}SCSS
$custom: #332fbc; $custom-light: #806ad1; $custom-dark: #000000;
JSON
{
"hex": "#332fbc",
"rgb": {
"r": 51,
"g": 47,
"b": 188
},
"hsl": {
"h": 241.702,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.4196,
"c": 0.21035,
"h": 273.7
},
"luminance": 0.06368
}Semantic roles & 50–950 ramp
primary
#332FBC
secondary
#C8CA7D
accent
#E345DF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83