#3159CA#3159CA
#3159CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.182 H 265.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3159CA |
|---|---|
| RGB | rgb(49, 89, 202) |
| HSL | hsl(224, 61%, 49%) |
| HSV | hsv(224, 76%, 79%) |
| CMYK | cmyk(75.7%, 55.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.31, 26.11, -62.73) |
| CIE-LCH | lch(41.31, 67.95, 292.60°) |
| OKLab | oklab(50.36% -0.0144 -0.1809) |
| OKLCH | oklch(50.36% 0.182 265.5) |
| XYZ | xyz(15.4959, 12.0603, 57.3768) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.96
Azul
#1D5DEC
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.59
Denim
#1560BD
ΔE00 5.04
Royal Blue
#4169E1
ΔE00 6.22
Electric Blue
#0652FF
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159CA #CAA231
analogous
#31A6CA #3159CA #5631CA
triadic
#3159CA #CA3159 #59CA31
tetradic
#3159CA #CA31A6 #CAA231 #31CA56
square
#3159CA #CA31A6 #CAA231 #31CA56
split-complementary
#3159CA #CA5631 #A6CA31
monochromatic
#192E67 #254399 #3159CA #607FD8 #91A7E4
Accessibility & contrast
On white
6.15
#3159CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#3159CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159CA
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159CA | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3159ca; /* rgb */ color: rgb(49, 89, 202); /* oklch */ color: oklch(50.4% 0.182 265.5);
Tailwind
colors: {
custom: {
50: '#7f87db',
500: '#3159ca',
950: '#000000',
},
}SCSS
$custom: #3159ca; $custom-light: #7f87db; $custom-dark: #000000;
JSON
{
"hex": "#3159ca",
"rgb": {
"r": 49,
"g": 89,
"b": 202
},
"hsl": {
"h": 224.314,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.50362,
"c": 0.18152,
"h": 265.5
},
"luminance": 0.12062
}Semantic roles & 50–950 ramp
primary
#3159CA
secondary
#CFBC88
accent
#BA44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83