#3159BE#3159BE
#3159BE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.165 H 264.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3159BE |
|---|---|
| RGB | rgb(49, 89, 190) |
| HSL | hsl(223, 59%, 47%) |
| HSV | hsv(223, 74%, 75%) |
| CMYK | cmyk(74.2%, 53.2%, 0%, 25.5%) |
| CIE-LAB | lab(40.43, 21.63, -57.19) |
| CIE-LCH | lch(40.43, 61.14, 290.72°) |
| OKLab | oklab(49.42% -0.0153 -0.1647) |
| OKLCH | oklch(49.42% 0.165 264.7) |
| XYZ | xyz(14.1300, 11.5139, 50.1829) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.01
Denim
#1560BD
ΔE00 4.25
Denim Blue
#3B5B92
ΔE00 5.66
Azul
#1D5DEC
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 6.01
Dusky Blue
#475F94
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159BE #BE9631
analogous
#31A0BE #3159BE #5031BE
triadic
#3159BE #BE3159 #59BE31
tetradic
#3159BE #BE31A0 #BE9631 #31BE50
square
#3159BE #BE31A0 #BE9631 #31BE50
split-complementary
#3159BE #BE5031 #A0BE31
monochromatic
#182B5D #24428D #3159BE #587BD4 #89A2E1
Accessibility & contrast
On white
6.36
#3159BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#3159BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159BE
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159BE | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3159be; /* rgb */ color: rgb(49, 89, 190); /* oklch */ color: oklch(49.4% 0.165 264.7);
Tailwind
colors: {
custom: {
50: '#7c87d2',
500: '#3159be',
950: '#000000',
},
}SCSS
$custom: #3159be; $custom-light: #7c87d2; $custom-dark: #000000;
JSON
{
"hex": "#3159be",
"rgb": {
"r": 49,
"g": 89,
"b": 190
},
"hsl": {
"h": 222.979,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.49421,
"c": 0.16537,
"h": 264.7
},
"luminance": 0.11515
}Semantic roles & 50–950 ramp
primary
#3159BE
secondary
#CAB580
accent
#B646E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83