#3157BC#3157BC
#3157BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.165 H 265.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3157BC |
|---|---|
| RGB | rgb(49, 87, 188) |
| HSL | hsl(224, 59%, 46%) |
| HSV | hsv(224, 74%, 74%) |
| CMYK | cmyk(73.9%, 53.7%, 0%, 26.3%) |
| CIE-LAB | lab(39.75, 22.18, -57.13) |
| CIE-LCH | lch(39.75, 61.29, 291.22°) |
| OKLab | oklab(48.86% -0.0138 -0.1645) |
| OKLCH | oklch(48.86% 0.165 265.2) |
| XYZ | xyz(13.7487, 11.0987, 48.9849) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Denim
#1560BD
ΔE00 4.78
Denim Blue
#3B5B92
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 6.05
Azul
#1D5DEC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3157BC #BC9631
analogous
#319DBC #3157BC #5131BC
triadic
#3157BC #BC3157 #57BC31
tetradic
#3157BC #BC319D #BC9631 #31BC51
square
#3157BC #BC319D #BC9631 #31BC51
split-complementary
#3157BC #BC5131 #9DBC31
monochromatic
#182A5B #24418B #3157BC #5779D3 #88A0E0
Accessibility & contrast
On white
6.52
#3157BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3157BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3157BC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3157BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3157BC | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0664C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3157bc; /* rgb */ color: rgb(49, 87, 188); /* oklch */ color: oklch(48.9% 0.165 265.2);
Tailwind
colors: {
custom: {
50: '#7c85d1',
500: '#3157bc',
950: '#000000',
},
}SCSS
$custom: #3157bc; $custom-light: #7c85d1; $custom-dark: #000000;
JSON
{
"hex": "#3157bc",
"rgb": {
"r": 49,
"g": 87,
"b": 188
},
"hsl": {
"h": 223.597,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.48855,
"c": 0.16511,
"h": 265.2
},
"luminance": 0.111
}Semantic roles & 50–950 ramp
primary
#3157BC
secondary
#CAB57F
accent
#B746E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82