#3156B3#3156B3
#3156B3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.154 H 264.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3156B3 |
|---|---|
| RGB | rgb(49, 86, 179) |
| HSL | hsl(223, 57%, 45%) |
| HSV | hsv(223, 73%, 70%) |
| CMYK | cmyk(72.6%, 52%, 0%, 29.8%) |
| CIE-LAB | lab(38.83, 19.46, -53.33) |
| CIE-LCH | lch(38.83, 56.77, 290.05°) |
| OKLab | oklab(47.96% -0.0139 -0.1534) |
| OKLCH | oklch(47.96% 0.154 264.8) |
| XYZ | xyz(12.7282, 10.5619, 44.0069) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.39
Denim Blue
#3B5B92
ΔE00 4.70
Denim
#1560BD
ΔE00 4.89
Cobalt
#0047AB
ΔE00 5.16
Dusk Blue
#26538D
ΔE00 5.59
Dusky Blue
#475F94
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156B3 #B38E31
analogous
#3197B3 #3156B3 #4D31B3
triadic
#3156B3 #B33156 #56B331
tetradic
#3156B3 #B33197 #B38E31 #31B34D
square
#3156B3 #B33197 #B38E31 #31B34D
split-complementary
#3156B3 #B34D31 #97B331
monochromatic
#172853 #243F83 #3156B3 #5275D0 #829CDD
Accessibility & contrast
On white
6.75
#3156B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#3156B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156B3
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156B3 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3156b3; /* rgb */ color: rgb(49, 86, 179); /* oklch */ color: oklch(48.0% 0.154 264.8);
Tailwind
colors: {
custom: {
50: '#7a85ca',
500: '#3156b3',
950: '#000000',
},
}SCSS
$custom: #3156b3; $custom-light: #7a85ca; $custom-dark: #000000;
JSON
{
"hex": "#3156b3",
"rgb": {
"r": 49,
"g": 86,
"b": 179
},
"hsl": {
"h": 222.923,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.4796,
"c": 0.15399,
"h": 264.8
},
"luminance": 0.10563
}Semantic roles & 50–950 ramp
primary
#3156B3
secondary
#C6B07A
accent
#B548E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82