#3339B6#3339B6
#3339B6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.193 H 272.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3339B6 |
|---|---|
| RGB | rgb(51, 57, 182) |
| HSL | hsl(237, 56%, 46%) |
| HSV | hsv(237, 72%, 71%) |
| CMYK | cmyk(72%, 68.7%, 0%, 28.6%) |
| CIE-LAB | lab(31.82, 39.51, -66.53) |
| CIE-LCH | lch(31.82, 77.38, 300.70°) |
| OKLab | oklab(42.86% 0.0093 -0.1924) |
| OKLCH | oklch(42.86% 0.193 272.8) |
| XYZ | xyz(11.2690, 7.0063, 45.0054) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.53
Blue Blue
#2242C7
ΔE00 3.63
Ocean Blue
#4F42B5
ΔE00 4.08
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Blurple
#5539CC
ΔE00 5.46
Blueberry
#464196
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3339B6 #B6B033
analogous
#337AB6 #3339B6 #6E33B6
triadic
#3339B6 #B63339 #39B633
tetradic
#3339B6 #B6337A #B6B033 #33B66E
square
#3339B6 #B6337A #B6B033 #33B66E
split-complementary
#3339B6 #B66E33 #7AB633
monochromatic
#181B56 #262A86 #3339B6 #565CD0 #868ADD
Accessibility & contrast
On white
8.74
#3339B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#3339B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3339B6
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3339B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3339B6 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3339b6; /* rgb */ color: rgb(51, 57, 182); /* oklch */ color: oklch(42.9% 0.193 272.8);
Tailwind
colors: {
custom: {
50: '#7e70cd',
500: '#3339b6',
950: '#000000',
},
}SCSS
$custom: #3339b6; $custom-light: #7e70cd; $custom-dark: #000000;
JSON
{
"hex": "#3339b6",
"rgb": {
"r": 51,
"g": 57,
"b": 182
},
"hsl": {
"h": 237.252,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.42856,
"c": 0.1926,
"h": 272.8
},
"luminance": 0.07007
}Semantic roles & 50–950 ramp
primary
#3339B6
secondary
#C7C47E
accent
#D948E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82