#3157BE#3157BE
#3157BE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.168 H 265.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3157BE |
|---|---|
| RGB | rgb(49, 87, 190) |
| HSL | hsl(224, 59%, 47%) |
| HSV | hsv(224, 74%, 75%) |
| CMYK | cmyk(74.2%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(39.89, 22.93, -58.07) |
| CIE-LCH | lch(39.89, 62.43, 291.55°) |
| OKLab | oklab(49.01% -0.0137 -0.1673) |
| OKLCH | oklch(49.01% 0.168 265.3) |
| XYZ | xyz(13.9658, 11.1855, 50.1282) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Denim
#1560BD
ΔE00 4.86
Warm Blue
#4B57DB
ΔE00 5.80
Denim Blue
#3B5B92
ΔE00 5.87
Azul
#1D5DEC
ΔE00 5.88
Cobalt
#0047AB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3157BE #BE9831
analogous
#319EBE #3157BE #5231BE
triadic
#3157BE #BE3157 #57BE31
tetradic
#3157BE #BE319E #BE9831 #31BE52
square
#3157BE #BE319E #BE9831 #31BE52
split-complementary
#3157BE #BE5231 #9EBE31
monochromatic
#182A5D #24418D #3157BE #587AD4 #89A0E1
Accessibility & contrast
On white
6.49
#3157BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#3157BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3157BE
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3157BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3157BE | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3157be; /* rgb */ color: rgb(49, 87, 190); /* oklch */ color: oklch(49.0% 0.168 265.3);
Tailwind
colors: {
custom: {
50: '#7d85d2',
500: '#3157be',
950: '#000000',
},
}SCSS
$custom: #3157be; $custom-light: #7d85d2; $custom-dark: #000000;
JSON
{
"hex": "#3157be",
"rgb": {
"r": 49,
"g": 87,
"b": 190
},
"hsl": {
"h": 223.83,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.49011,
"c": 0.16784,
"h": 265.3
},
"luminance": 0.11187
}Semantic roles & 50–950 ramp
primary
#3157BE
secondary
#CAB680
accent
#B846E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83