#3159BB#3159BB
#3159BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.161 H 264.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3159BB |
|---|---|
| RGB | rgb(49, 89, 187) |
| HSL | hsl(223, 58%, 46%) |
| HSV | hsv(223, 74%, 73%) |
| CMYK | cmyk(73.8%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(40.22, 20.50, -55.78) |
| CIE-LCH | lch(40.22, 59.43, 290.18°) |
| OKLab | oklab(49.19% -0.0155 -0.1605) |
| OKLCH | oklch(49.19% 0.161 264.5) |
| XYZ | xyz(13.8055, 11.3841, 48.4738) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Denim
#1560BD
ΔE00 4.11
Denim Blue
#3B5B92
ΔE00 5.29
Dusky Blue
#475F94
ΔE00 5.99
Azul
#1D5DEC
ΔE00 6.07
Cobalt
#0047AB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159BB #BB9331
analogous
#319EBB #3159BB #4E31BB
triadic
#3159BB #BB3159 #59BB31
tetradic
#3159BB #BB319E #BB9331 #31BB4E
square
#3159BB #BB319E #BB9331 #31BB4E
split-complementary
#3159BB #BB4E31 #9EBB31
monochromatic
#182B5A #24428B #3159BB #567AD3 #87A1E0
Accessibility & contrast
On white
6.41
#3159BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#3159BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159BB
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159BB | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3159bb; /* rgb */ color: rgb(49, 89, 187); /* oklch */ color: oklch(49.2% 0.161 264.5);
Tailwind
colors: {
custom: {
50: '#7c87d0',
500: '#3159bb',
950: '#000000',
},
}SCSS
$custom: #3159bb; $custom-light: #7c87d0; $custom-dark: #000000;
JSON
{
"hex": "#3159bb",
"rgb": {
"r": 49,
"g": 89,
"b": 187
},
"hsl": {
"h": 222.609,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.49192,
"c": 0.16127,
"h": 264.5
},
"luminance": 0.11386
}Semantic roles & 50–950 ramp
primary
#3159BB
secondary
#C9B47F
accent
#B546E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82