#3341B2#3341B2
#3341B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.178 H 271.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3341B2 |
|---|---|
| RGB | rgb(51, 65, 178) |
| HSL | hsl(233, 55%, 45%) |
| HSV | hsv(233, 71%, 70%) |
| CMYK | cmyk(71.3%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(33.34, 33.08, -61.66) |
| CIE-LCH | lch(33.34, 69.97, 298.21°) |
| OKLab | oklab(43.86% 0.0044 -0.1781) |
| OKLCH | oklch(43.86% 0.178 271.4) |
| XYZ | xyz(11.2887, 7.6976, 43.0017) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.85
Sapphire (survey)
#2138AB
ΔE00 2.96
Ocean Blue
#4F42B5
ΔE00 4.00
Blueberry
#464196
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3341B2 #B2A433
analogous
#3380B2 #3341B2 #6533B2
triadic
#3341B2 #B23341 #41B233
tetradic
#3341B2 #B23380 #B2A433 #33B265
square
#3341B2 #B23380 #B2A433 #33B265
split-complementary
#3341B2 #B26533 #80B233
monochromatic
#181E53 #253082 #3341B2 #5462CE #848DDC
Accessibility & contrast
On white
8.27
#3341B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#3341B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3341B2
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3341B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3341B2 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3341b2; /* rgb */ color: rgb(51, 65, 178); /* oklch */ color: oklch(43.9% 0.178 271.4);
Tailwind
colors: {
custom: {
50: '#7c75ca',
500: '#3341b2',
950: '#000000',
},
}SCSS
$custom: #3341b2; $custom-light: #7c75ca; $custom-dark: #000000;
JSON
{
"hex": "#3341b2",
"rgb": {
"r": 51,
"g": 65,
"b": 178
},
"hsl": {
"h": 233.386,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.43857,
"c": 0.17812,
"h": 271.4
},
"luminance": 0.07699
}Semantic roles & 50–950 ramp
primary
#3341B2
secondary
#C5BD7C
accent
#CE49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82