#3156C1#3156C1
#3156C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.173 H 265.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3156C1 |
|---|---|
| RGB | rgb(49, 86, 193) |
| HSL | hsl(225, 60%, 47%) |
| HSV | hsv(225, 75%, 76%) |
| CMYK | cmyk(74.6%, 55.4%, 0%, 24.3%) |
| CIE-LAB | lab(39.84, 24.71, -59.89) |
| CIE-LCH | lch(39.84, 64.79, 292.42°) |
| OKLab | oklab(49.05% -0.0127 -0.1727) |
| OKLCH | oklch(49.05% 0.173 265.8) |
| XYZ | xyz(14.2167, 11.1572, 51.8460) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.94
Denim
#1560BD
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 5.35
Azul
#1D5DEC
ΔE00 5.65
Cobalt
#0047AB
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156C1 #C19C31
analogous
#319EC1 #3156C1 #5431C1
triadic
#3156C1 #C13156 #56C131
tetradic
#3156C1 #C1319E #C19C31 #31C154
square
#3156C1 #C1319E #C19C31 #31C154
split-complementary
#3156C1 #C15431 #9EC131
monochromatic
#182B5F #254090 #3156C1 #5A7AD5 #8BA1E2
Accessibility & contrast
On white
6.50
#3156C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3156C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156C1
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156C1 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3156c1; /* rgb */ color: rgb(49, 86, 193); /* oklch */ color: oklch(49.0% 0.173 265.8);
Tailwind
colors: {
custom: {
50: '#7d85d4',
500: '#3156c1',
950: '#000000',
},
}SCSS
$custom: #3156c1; $custom-light: #7d85d4; $custom-dark: #000000;
JSON
{
"hex": "#3156c1",
"rgb": {
"r": 49,
"g": 86,
"b": 193
},
"hsl": {
"h": 224.583,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.49045,
"c": 0.17313,
"h": 265.8
},
"luminance": 0.11159
}Semantic roles & 50–950 ramp
primary
#3156C1
secondary
#CCB982
accent
#BA45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83