#3159C0#3159C0
#3159C0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.168 H 264.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3159C0 |
|---|---|
| RGB | rgb(49, 89, 192) |
| HSL | hsl(223, 59%, 47%) |
| HSV | hsv(223, 74%, 75%) |
| CMYK | cmyk(74.5%, 53.6%, 0%, 24.7%) |
| CIE-LAB | lab(40.58, 22.38, -58.12) |
| CIE-LCH | lch(40.58, 62.28, 291.06°) |
| OKLab | oklab(49.58% -0.0151 -0.1674) |
| OKLCH | oklch(49.58% 0.168 264.9) |
| XYZ | xyz(14.3501, 11.6019, 51.3421) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.13
Denim
#1560BD
ΔE00 4.35
Azul
#1D5DEC
ΔE00 5.45
Warm Blue
#4B57DB
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159C0 #C09831
analogous
#31A0C0 #3159C0 #5131C0
triadic
#3159C0 #C03159 #59C031
tetradic
#3159C0 #C031A0 #C09831 #31C051
square
#3159C0 #C031A0 #C09831 #31C051
split-complementary
#3159C0 #C05131 #A0C031
monochromatic
#182C5E #25428F #3159C0 #597CD5 #8AA3E1
Accessibility & contrast
On white
6.32
#3159C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#3159C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159C0
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159C0 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0667C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3159c0; /* rgb */ color: rgb(49, 89, 192); /* oklch */ color: oklch(49.6% 0.168 264.9);
Tailwind
colors: {
custom: {
50: '#7d87d4',
500: '#3159c0',
950: '#000000',
},
}SCSS
$custom: #3159c0; $custom-light: #7d87d4; $custom-dark: #000000;
JSON
{
"hex": "#3159c0",
"rgb": {
"r": 49,
"g": 89,
"b": 192
},
"hsl": {
"h": 223.217,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.49575,
"c": 0.16809,
"h": 264.9
},
"luminance": 0.11603
}Semantic roles & 50–950 ramp
primary
#3159C0
secondary
#CBB782
accent
#B745E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83