#3139B2#3139B2
#3139B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.188 H 272.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3139B2 |
|---|---|
| RGB | rgb(49, 57, 178) |
| HSL | hsl(236, 57%, 45%) |
| HSV | hsv(236, 72%, 70%) |
| CMYK | cmyk(72.5%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(31.33, 37.89, -64.97) |
| CIE-LCH | lch(31.33, 75.21, 300.25°) |
| OKLab | oklab(42.36% 0.0075 -0.1878) |
| OKLCH | oklch(42.36% 0.188 272.3) |
| XYZ | xyz(10.7629, 6.7925, 42.8547) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Blue Blue
#2242C7
ΔE00 3.86
Ocean Blue
#4F42B5
ΔE00 4.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.35
Blueberry
#464196
ΔE00 5.60
Blurple
#5539CC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3139B2 #B2AA31
analogous
#317AB2 #3139B2 #6A31B2
triadic
#3139B2 #B23139 #39B231
tetradic
#3139B2 #B2317A #B2AA31 #31B26A
square
#3139B2 #B2317A #B2AA31 #31B26A
split-complementary
#3139B2 #B26A31 #7AB231
monochromatic
#171A52 #242A82 #3139B2 #5159CF #8187DC
Accessibility & contrast
On white
8.90
#3139B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#3139B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3139B2
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3139B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3139B2 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 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: #3139b2; /* rgb */ color: rgb(49, 57, 178); /* oklch */ color: oklch(42.4% 0.188 272.3);
Tailwind
colors: {
custom: {
50: '#7c70ca',
500: '#3139b2',
950: '#000000',
},
}SCSS
$custom: #3139b2; $custom-light: #7c70ca; $custom-dark: #000000;
JSON
{
"hex": "#3139b2",
"rgb": {
"r": 49,
"g": 57,
"b": 178
},
"hsl": {
"h": 236.279,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.42355,
"c": 0.18799,
"h": 272.3
},
"luminance": 0.06794
}Semantic roles & 50–950 ramp
primary
#3139B2
secondary
#C5C179
accent
#D748E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82