#3339B2#3339B2
#3339B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.187 H 273.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3339B2 |
|---|---|
| RGB | rgb(51, 57, 178) |
| HSL | hsl(237, 55%, 45%) |
| HSV | hsv(237, 71%, 70%) |
| CMYK | cmyk(71.3%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(31.45, 38.12, -64.77) |
| CIE-LCH | lch(31.45, 75.15, 300.48°) |
| OKLab | oklab(42.47% 0.0098 -0.1872) |
| OKLCH | oklch(42.47% 0.187 273) |
| XYZ | xyz(10.8616, 6.8433, 42.8593) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.16
Blue Blue
#2242C7
ΔE00 3.93
Ocean Blue
#4F42B5
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.17
Blueberry
#464196
ΔE00 5.52
Blurple
#5539CC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3339B2 #B2AC33
analogous
#3379B2 #3339B2 #6C33B2
triadic
#3339B2 #B23339 #39B233
tetradic
#3339B2 #B23379 #B2AC33 #33B26C
square
#3339B2 #B23379 #B2AC33 #33B26C
split-complementary
#3339B2 #B26C33 #79B233
monochromatic
#181B53 #252A82 #3339B2 #545ACE #8488DC
Accessibility & contrast
On white
8.87
#3339B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#3339B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3339B2
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3339B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3339B2 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3339b2; /* rgb */ color: rgb(51, 57, 178); /* oklch */ color: oklch(42.5% 0.187 273.0);
Tailwind
colors: {
custom: {
50: '#7d70ca',
500: '#3339b2',
950: '#000000',
},
}SCSS
$custom: #3339b2; $custom-light: #7d70ca; $custom-dark: #000000;
JSON
{
"hex": "#3339b2",
"rgb": {
"r": 51,
"g": 57,
"b": 178
},
"hsl": {
"h": 237.165,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.42472,
"c": 0.18746,
"h": 273
},
"luminance": 0.06844
}Semantic roles & 50–950 ramp
primary
#3339B2
secondary
#C5C27C
accent
#D849DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82