#332BAF#332BAF
#332BAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.198 H 275.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #332BAF |
|---|---|
| RGB | rgb(51, 43, 175) |
| HSL | hsl(244, 61%, 43%) |
| HSV | hsv(244, 75%, 69%) |
| CMYK | cmyk(70.9%, 75.4%, 0%, 31.4%) |
| CIE-LAB | lab(28.18, 45.32, -68.35) |
| CIE-LCH | lch(28.18, 82.01, 303.54°) |
| OKLab | oklab(40.05% 0.0183 -0.1976) |
| OKLCH | oklch(40.05% 0.198 275.3) |
| XYZ | xyz(9.9644, 5.5258, 41.0906) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.63
Sapphire (survey)
#2138AB
ΔE00 4.37
True Blue
#010FCC
ΔE00 5.35
Violet Blue
#510AC9
ΔE00 6.19
Mediumblue
#0000CD
ΔE00 6.23
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332BAF #A7AF2B
analogous
#2B65AF #332BAF #752BAF
triadic
#332BAF #AF332B #2BAF33
tetradic
#332BAF #AF2B65 #A7AF2B #2BAF75
square
#332BAF #AF2B65 #A7AF2B #2BAF75
split-complementary
#332BAF #AF752B #65AF2B
monochromatic
#16134D #251F7E #332BAF #4E46D1 #7D77DE
Accessibility & contrast
On white
9.97
#332BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#332BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332BAF
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332BAF | 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)
#0048B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #332baf; /* rgb */ color: rgb(51, 43, 175); /* oklch */ color: oklch(40.0% 0.198 275.3);
Tailwind
colors: {
custom: {
50: '#7d67c8',
500: '#332baf',
950: '#000000',
},
}SCSS
$custom: #332baf; $custom-light: #7d67c8; $custom-dark: #000000;
JSON
{
"hex": "#332baf",
"rgb": {
"r": 51,
"g": 43,
"b": 175
},
"hsl": {
"h": 243.636,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.40046,
"c": 0.19848,
"h": 275.3
},
"luminance": 0.05527
}Semantic roles & 50–950 ramp
primary
#332BAF
secondary
#C0C570
accent
#E444DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82