#333BAC#333BAC
#333BAC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.177 H 272.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #333BAC |
|---|---|
| RGB | rgb(51, 59, 172) |
| HSL | hsl(236, 54%, 44%) |
| HSV | hsv(236, 70%, 67%) |
| CMYK | cmyk(70.3%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(31.37, 34.77, -61.32) |
| CIE-LCH | lch(31.37, 70.49, 299.55°) |
| OKLab | oklab(42.25% 0.009 -0.1771) |
| OKLCH | oklch(42.25% 0.177 272.9) |
| XYZ | xyz(10.3731, 6.8093, 39.7894) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blue Blue
#2242C7
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.29
Blueberry
#464196
ΔE00 4.72
Blue With A Hint Of Purple
#533CC6
ΔE00 5.84
Cobalt
#0047AB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333BAC #ACA433
analogous
#3377AC #333BAC #6733AC
triadic
#333BAC #AC333B #3BAC33
tetradic
#333BAC #AC3377 #ACA433 #33AC67
square
#333BAC #AC3377 #ACA433 #33AC67
split-complementary
#333BAC #AC6733 #77AC33
monochromatic
#171B4E #252B7D #333BAC #5159CB #8086D9
Accessibility & contrast
On white
8.89
#333BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#333BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333BAC
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333BAC | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #333bac; /* rgb */ color: rgb(51, 59, 172); /* oklch */ color: oklch(42.2% 0.177 272.9);
Tailwind
colors: {
custom: {
50: '#7b71c6',
500: '#333bac',
950: '#000000',
},
}SCSS
$custom: #333bac; $custom-light: #7b71c6; $custom-dark: #000000;
JSON
{
"hex": "#333bac",
"rgb": {
"r": 51,
"g": 59,
"b": 172
},
"hsl": {
"h": 236.033,
"s": 54.26,
"l": 43.725
},
"oklch": {
"l": 0.42248,
"c": 0.17734,
"h": 272.9
},
"luminance": 0.0681
}Semantic roles & 50–950 ramp
primary
#333BAC
secondary
#C2BE78
accent
#D44ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82