#3341B3#3341B3
#3341B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.179 H 271.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3341B3 |
|---|---|
| RGB | rgb(51, 65, 179) |
| HSL | hsl(233, 56%, 45%) |
| HSV | hsv(233, 72%, 70%) |
| CMYK | cmyk(71.5%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(33.43, 33.44, -62.11) |
| CIE-LCH | lch(33.43, 70.54, 298.30°) |
| OKLab | oklab(43.95% 0.0043 -0.1794) |
| OKLCH | oklch(43.95% 0.179 271.4) |
| XYZ | xyz(11.3895, 7.7379, 43.5324) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.73
Sapphire (survey)
#2138AB
ΔE00 3.01
Ocean Blue
#4F42B5
ΔE00 3.95
Blueberry
#464196
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.31
Blue (survey)
#0343DF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3341B3 #B3A533
analogous
#3381B3 #3341B3 #6533B3
triadic
#3341B3 #B33341 #41B333
tetradic
#3341B3 #B33381 #B3A533 #33B365
square
#3341B3 #B33381 #B3A533 #33B365
split-complementary
#3341B3 #B36533 #81B333
monochromatic
#181E54 #253083 #3341B3 #5562CE #848EDC
Accessibility & contrast
On white
8.24
#3341B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3341B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3341B3
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3341B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3341B3 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3341b3; /* rgb */ color: rgb(51, 65, 179); /* oklch */ color: oklch(43.9% 0.179 271.4);
Tailwind
colors: {
custom: {
50: '#7c75cb',
500: '#3341b3',
950: '#000000',
},
}SCSS
$custom: #3341b3; $custom-light: #7c75cb; $custom-dark: #000000;
JSON
{
"hex": "#3341b3",
"rgb": {
"r": 51,
"g": 65,
"b": 179
},
"hsl": {
"h": 233.438,
"s": 55.652,
"l": 45.098
},
"oklch": {
"l": 0.43947,
"c": 0.17945,
"h": 271.4
},
"luminance": 0.07739
}Semantic roles & 50–950 ramp
primary
#3341B3
secondary
#C6BE7C
accent
#CF49DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82