#3156B7#3156B7
#3156B7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.160 H 265.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3156B7 |
|---|---|
| RGB | rgb(49, 86, 183) |
| HSL | hsl(223, 58%, 45%) |
| HSV | hsv(223, 73%, 72%) |
| CMYK | cmyk(73.2%, 53%, 0%, 28.2%) |
| CIE-LAB | lab(39.12, 20.96, -55.23) |
| CIE-LCH | lch(39.12, 59.07, 290.79°) |
| OKLab | oklab(48.26% -0.0135 -0.1589) |
| OKLCH | oklch(48.26% 0.16 265.1) |
| XYZ | xyz(13.1386, 10.7260, 46.1685) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Denim
#1560BD
ΔE00 4.95
Denim Blue
#3B5B92
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.32
Dusky Blue
#475F94
ΔE00 6.03
Dusk Blue
#26538D
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156B7 #B79231
analogous
#3199B7 #3156B7 #4F31B7
triadic
#3156B7 #B73156 #56B731
tetradic
#3156B7 #B73199 #B79231 #31B74F
square
#3156B7 #B73199 #B79231 #31B74F
split-complementary
#3156B7 #B74F31 #99B731
monochromatic
#172956 #243F87 #3156B7 #5477D1 #849DDE
Accessibility & contrast
On white
6.68
#3156B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3156B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156B7
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156B7 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1163BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3156b7; /* rgb */ color: rgb(49, 86, 183); /* oklch */ color: oklch(48.3% 0.160 265.1);
Tailwind
colors: {
custom: {
50: '#7b85cd',
500: '#3156b7',
950: '#000000',
},
}SCSS
$custom: #3156b7; $custom-light: #7b85cd; $custom-dark: #000000;
JSON
{
"hex": "#3156b7",
"rgb": {
"r": 49,
"g": 86,
"b": 183
},
"hsl": {
"h": 223.433,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.48264,
"c": 0.15951,
"h": 265.1
},
"luminance": 0.10727
}Semantic roles & 50–950 ramp
primary
#3156B7
secondary
#C8B37C
accent
#B647E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82