#3156C2#3156C2
#3156C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.174 H 265.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3156C2 |
|---|---|
| RGB | rgb(49, 86, 194) |
| HSL | hsl(225, 60%, 48%) |
| HSV | hsv(225, 75%, 76%) |
| CMYK | cmyk(74.7%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.92, 25.08, -60.35) |
| CIE-LCH | lch(39.92, 65.36, 292.56°) |
| OKLab | oklab(49.13% -0.0126 -0.174) |
| OKLCH | oklch(49.13% 0.174 265.8) |
| XYZ | xyz(14.3286, 11.2020, 52.4355) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 5.23
Denim
#1560BD
ΔE00 5.37
Azul
#1D5DEC
ΔE00 5.54
Cobalt
#0047AB
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156C2 #C29D31
analogous
#319EC2 #3156C2 #5531C2
triadic
#3156C2 #C23156 #56C231
tetradic
#3156C2 #C2319E #C29D31 #31C255
square
#3156C2 #C2319E #C29D31 #31C255
split-complementary
#3156C2 #C25531 #9EC231
monochromatic
#182B60 #254091 #3156C2 #5B7AD6 #8CA2E2
Accessibility & contrast
On white
6.48
#3156C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#3156C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156C2
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156C2 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3156c2; /* rgb */ color: rgb(49, 86, 194); /* oklch */ color: oklch(49.1% 0.174 265.8);
Tailwind
colors: {
custom: {
50: '#7e85d5',
500: '#3156c2',
950: '#000000',
},
}SCSS
$custom: #3156c2; $custom-light: #7e85d5; $custom-dark: #000000;
JSON
{
"hex": "#3156c2",
"rgb": {
"r": 49,
"g": 86,
"b": 194
},
"hsl": {
"h": 224.69,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.49125,
"c": 0.17448,
"h": 265.8
},
"luminance": 0.11204
}Semantic roles & 50–950 ramp
primary
#3156C2
secondary
#CCB983
accent
#BB45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83