#3156AB#3156AB
#3156AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.143 H 264.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3156AB |
|---|---|
| RGB | rgb(49, 86, 171) |
| HSL | hsl(222, 55%, 43%) |
| HSV | hsv(222, 71%, 67%) |
| CMYK | cmyk(71.3%, 49.7%, 0%, 32.9%) |
| CIE-LAB | lab(38.28, 16.45, -49.49) |
| CIE-LCH | lch(38.28, 52.15, 288.39°) |
| OKLab | oklab(47.37% -0.0148 -0.1421) |
| OKLCH | oklch(47.37% 0.143 264) |
| XYZ | xyz(11.9425, 10.2476, 39.8688) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.72
Denim Blue
#3B5B92
ΔE00 3.78
Dusk Blue
#26538D
ΔE00 4.59
Denim
#1560BD
ΔE00 4.92
Dusky Blue
#475F94
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156AB #AB8631
analogous
#3193AB #3156AB #4931AB
triadic
#3156AB #AB3156 #56AB31
tetradic
#3156AB #AB3193 #AB8631 #31AB49
square
#3156AB #AB3193 #AB8631 #31AB49
split-complementary
#3156AB #AB4931 #93AB31
monochromatic
#16264C #233E7B #3156AB #4D74CC #7D99DA
Accessibility & contrast
On white
6.89
#3156AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3156AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156AB
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156AB | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3156ab; /* rgb */ color: rgb(49, 86, 171); /* oklch */ color: oklch(47.4% 0.143 264.0);
Tailwind
colors: {
custom: {
50: '#7985c5',
500: '#3156ab',
950: '#000000',
},
}SCSS
$custom: #3156ab; $custom-light: #7985c5; $custom-dark: #000000;
JSON
{
"hex": "#3156ab",
"rgb": {
"r": 49,
"g": 86,
"b": 171
},
"hsl": {
"h": 221.803,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.47366,
"c": 0.14283,
"h": 264
},
"luminance": 0.10249
}Semantic roles & 50–950 ramp
primary
#3156AB
secondary
#C2AB75
accent
#B149DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82