#3156BE#3156BE
#3156BE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.169 H 265.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3156BE |
|---|---|
| RGB | rgb(49, 86, 190) |
| HSL | hsl(224, 59%, 47%) |
| HSV | hsv(224, 74%, 75%) |
| CMYK | cmyk(74.2%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(39.62, 23.59, -58.50) |
| CIE-LCH | lch(39.62, 63.08, 291.96°) |
| OKLab | oklab(48.81% -0.0129 -0.1686) |
| OKLCH | oklch(48.81% 0.169 265.6) |
| XYZ | xyz(13.8854, 11.0247, 50.1014) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.72
Denim
#1560BD
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.72
Cobalt
#0047AB
ΔE00 5.74
Azul
#1D5DEC
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156BE #BE9931
analogous
#319DBE #3156BE #5231BE
triadic
#3156BE #BE3156 #56BE31
tetradic
#3156BE #BE319D #BE9931 #31BE52
square
#3156BE #BE319D #BE9931 #31BE52
split-complementary
#3156BE #BE5231 #9DBE31
monochromatic
#182A5D #24408D #3156BE #5879D4 #89A0E1
Accessibility & contrast
On white
6.55
#3156BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3156BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156BE
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156BE | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3156be; /* rgb */ color: rgb(49, 86, 190); /* oklch */ color: oklch(48.8% 0.169 265.6);
Tailwind
colors: {
custom: {
50: '#7d85d2',
500: '#3156be',
950: '#000000',
},
}SCSS
$custom: #3156be; $custom-light: #7d85d2; $custom-dark: #000000;
JSON
{
"hex": "#3156be",
"rgb": {
"r": 49,
"g": 86,
"b": 190
},
"hsl": {
"h": 224.255,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.48808,
"c": 0.16907,
"h": 265.6
},
"luminance": 0.11026
}Semantic roles & 50–950 ramp
primary
#3156BE
secondary
#CAB780
accent
#B946E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83