#3156B2#3156B2
#3156B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.153 H 264.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3156B2 |
|---|---|
| RGB | rgb(49, 86, 178) |
| HSL | hsl(223, 57%, 45%) |
| HSV | hsv(223, 72%, 70%) |
| CMYK | cmyk(72.5%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(38.76, 19.08, -52.86) |
| CIE-LCH | lch(38.76, 56.20, 289.85°) |
| OKLab | oklab(47.88% -0.014 -0.152) |
| OKLCH | oklch(47.88% 0.153 264.7) |
| XYZ | xyz(12.6275, 10.5216, 43.4762) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Denim Blue
#3B5B92
ΔE00 4.58
Denim
#1560BD
ΔE00 4.88
Cobalt
#0047AB
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.47
Dusky Blue
#475F94
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156B2 #B28D31
analogous
#3196B2 #3156B2 #4D31B2
triadic
#3156B2 #B23156 #56B231
tetradic
#3156B2 #B23196 #B28D31 #31B24D
square
#3156B2 #B23196 #B28D31 #31B24D
split-complementary
#3156B2 #B24D31 #96B231
monochromatic
#172852 #243F82 #3156B2 #5175CF #819BDC
Accessibility & contrast
On white
6.76
#3156B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3156B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156B2
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156B2 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3156b2; /* rgb */ color: rgb(49, 86, 178); /* oklch */ color: oklch(47.9% 0.153 264.7);
Tailwind
colors: {
custom: {
50: '#7a85ca',
500: '#3156b2',
950: '#000000',
},
}SCSS
$custom: #3156b2; $custom-light: #7a85ca; $custom-dark: #000000;
JSON
{
"hex": "#3156b2",
"rgb": {
"r": 49,
"g": 86,
"b": 178
},
"hsl": {
"h": 222.791,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.47884,
"c": 0.1526,
"h": 264.7
},
"luminance": 0.10523
}Semantic roles & 50–950 ramp
primary
#3156B2
secondary
#C5B079
accent
#B448E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82