#3156B8#3156B8
#3156B8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.161 H 265.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3156B8 |
|---|---|
| RGB | rgb(49, 86, 184) |
| HSL | hsl(224, 58%, 46%) |
| HSV | hsv(224, 73%, 72%) |
| CMYK | cmyk(73.4%, 53.3%, 0%, 27.8%) |
| CIE-LAB | lab(39.19, 21.34, -55.70) |
| CIE-LCH | lch(39.19, 59.65, 290.96°) |
| OKLab | oklab(48.34% -0.0134 -0.1603) |
| OKLCH | oklch(48.34% 0.161 265.2) |
| XYZ | xyz(13.2431, 10.7678, 46.7186) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.43
Denim
#1560BD
ΔE00 4.97
Denim Blue
#3B5B92
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.37
Dusky Blue
#475F94
ΔE00 6.12
Dusk Blue
#26538D
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156B8 #B89331
analogous
#3199B8 #3156B8 #5031B8
triadic
#3156B8 #B83156 #56B831
tetradic
#3156B8 #B83199 #B89331 #31B850
square
#3156B8 #B83199 #B89331 #31B850
split-complementary
#3156B8 #B85031 #99B831
monochromatic
#172957 #243F88 #3156B8 #5577D2 #859DDE
Accessibility & contrast
On white
6.66
#3156B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3156B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156B8
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156B8 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E63BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3156b8; /* rgb */ color: rgb(49, 86, 184); /* oklch */ color: oklch(48.3% 0.161 265.2);
Tailwind
colors: {
custom: {
50: '#7b85ce',
500: '#3156b8',
950: '#000000',
},
}SCSS
$custom: #3156b8; $custom-light: #7b85ce; $custom-dark: #000000;
JSON
{
"hex": "#3156b8",
"rgb": {
"r": 49,
"g": 86,
"b": 184
},
"hsl": {
"h": 223.556,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.48341,
"c": 0.16088,
"h": 265.2
},
"luminance": 0.10769
}Semantic roles & 50–950 ramp
primary
#3156B8
secondary
#C8B37D
accent
#B747E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82