#3156B4#3156B4
#3156B4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.155 H 264.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3156B4 |
|---|---|
| RGB | rgb(49, 86, 180) |
| HSL | hsl(223, 57%, 45%) |
| HSV | hsv(223, 73%, 71%) |
| CMYK | cmyk(72.8%, 52.2%, 0%, 29.4%) |
| CIE-LAB | lab(38.90, 19.84, -53.81) |
| CIE-LCH | lch(38.90, 57.35, 290.24°) |
| OKLab | oklab(48.04% -0.0138 -0.1548) |
| OKLCH | oklch(48.04% 0.155 264.9) |
| XYZ | xyz(12.8297, 10.6025, 44.5415) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.38
Denim Blue
#3B5B92
ΔE00 4.82
Denim
#1560BD
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.72
Dusky Blue
#475F94
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156B4 #B48F31
analogous
#3198B4 #3156B4 #4D31B4
triadic
#3156B4 #B43156 #56B431
tetradic
#3156B4 #B43198 #B48F31 #31B44D
square
#3156B4 #B43198 #B48F31 #31B44D
split-complementary
#3156B4 #B44D31 #98B431
monochromatic
#172854 #243F84 #3156B4 #5276D0 #829CDD
Accessibility & contrast
On white
6.73
#3156B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3156B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156B4
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156B4 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1862B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3156b4; /* rgb */ color: rgb(49, 86, 180); /* oklch */ color: oklch(48.0% 0.155 264.9);
Tailwind
colors: {
custom: {
50: '#7a85cb',
500: '#3156b4',
950: '#000000',
},
}SCSS
$custom: #3156b4; $custom-light: #7a85cb; $custom-dark: #000000;
JSON
{
"hex": "#3156b4",
"rgb": {
"r": 49,
"g": 86,
"b": 180
},
"hsl": {
"h": 223.053,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.48035,
"c": 0.15537,
"h": 264.9
},
"luminance": 0.10604
}Semantic roles & 50–950 ramp
primary
#3156B4
secondary
#C6B17B
accent
#B547E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82