#3334A5#3334A5
#3334A5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.176 H 274.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3334A5 |
|---|---|
| RGB | rgb(51, 52, 165) |
| HSL | hsl(239, 53%, 42%) |
| HSV | hsv(239, 69%, 65%) |
| CMYK | cmyk(69.1%, 68.5%, 0%, 35.3%) |
| CIE-LAB | lab(29.10, 36.70, -60.84) |
| CIE-LCH | lch(29.10, 71.05, 301.10°) |
| OKLab | oklab(40.4% 0.0146 -0.1757) |
| OKLCH | oklch(40.4% 0.176 274.7) |
| XYZ | xyz(9.3825, 5.8755, 36.2297) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.43
Blueberry
#464196
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3334A5 #A5A433
analogous
#336DA5 #3334A5 #6B33A5
triadic
#3334A5 #A53334 #34A533
tetradic
#3334A5 #A5336D #A5A433 #33A56B
square
#3334A5 #A5336D #A5A433 #33A56B
split-complementary
#3334A5 #A56B33 #6DA533
monochromatic
#161748 #252576 #3334A5 #4D4EC8 #7C7DD6
Accessibility & contrast
On white
9.65
#3334A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#3334A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3334A5
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3334A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3334A5 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3334a5; /* rgb */ color: rgb(51, 52, 165); /* oklch */ color: oklch(40.4% 0.176 274.7);
Tailwind
colors: {
custom: {
50: '#7a6cc1',
500: '#3334a5',
950: '#000000',
},
}SCSS
$custom: #3334a5; $custom-light: #7a6cc1; $custom-dark: #000000;
JSON
{
"hex": "#3334a5",
"rgb": {
"r": 51,
"g": 52,
"b": 165
},
"hsl": {
"h": 239.474,
"s": 52.778,
"l": 42.353
},
"oklch": {
"l": 0.40401,
"c": 0.17633,
"h": 274.7
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#3334A5
secondary
#BFBF75
accent
#DB4CDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81