#3159B2#3159B2
#3159B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.149 H 263.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3159B2 |
|---|---|
| RGB | rgb(49, 89, 178) |
| HSL | hsl(221, 57%, 45%) |
| HSV | hsv(221, 72%, 70%) |
| CMYK | cmyk(72.5%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(39.60, 17.12, -51.51) |
| CIE-LCH | lch(39.60, 54.28, 288.38°) |
| OKLab | oklab(48.52% -0.0166 -0.1479) |
| OKLCH | oklch(48.52% 0.149 263.6) |
| XYZ | xyz(12.8720, 11.0107, 43.5577) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Denim
#1560BD
ΔE00 3.91
Denim Blue
#3B5B92
ΔE00 4.20
Dusky Blue
#475F94
ΔE00 5.17
Dusk Blue
#26538D
ΔE00 5.42
Light Navy Blue
#2E5A88
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159B2 #B28A31
analogous
#319AB2 #3159B2 #4931B2
triadic
#3159B2 #B23159 #59B231
tetradic
#3159B2 #B2319A #B28A31 #31B249
square
#3159B2 #B2319A #B28A31 #31B249
split-complementary
#3159B2 #B24931 #9AB231
monochromatic
#172952 #244182 #3159B2 #5178CF #819DDC
Accessibility & contrast
On white
6.56
#3159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#3159B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159B2
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159B2 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3159b2; /* rgb */ color: rgb(49, 89, 178); /* oklch */ color: oklch(48.5% 0.149 263.6);
Tailwind
colors: {
custom: {
50: '#7a87ca',
500: '#3159b2',
950: '#000000',
},
}SCSS
$custom: #3159b2; $custom-light: #7a87ca; $custom-dark: #000000;
JSON
{
"hex": "#3159b2",
"rgb": {
"r": 49,
"g": 89,
"b": 178
},
"hsl": {
"h": 221.395,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.48521,
"c": 0.14887,
"h": 263.6
},
"luminance": 0.11012
}Semantic roles & 50–950 ramp
primary
#3159B2
secondary
#C5AE79
accent
#B148E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82