#316CC1#316CC1
#316CC1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.147 H 257.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #316CC1 |
|---|---|
| RGB | rgb(49, 108, 193) |
| HSL | hsl(215, 60%, 47%) |
| HSV | hsv(215, 75%, 76%) |
| CMYK | cmyk(74.6%, 44%, 0%, 24.3%) |
| CIE-LAB | lab(45.94, 10.52, -50.06) |
| CIE-LCH | lch(45.94, 51.15, 281.87°) |
| OKLab | oklab(53.7% -0.0307 -0.1433) |
| OKLCH | oklch(53.7% 0.147 257.9) |
| XYZ | xyz(16.2513, 15.2265, 52.5243) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.95
Mid Blue
#276AB3
ΔE00 2.50
French Blue
#436BAD
ΔE00 2.77
Flat Blue
#3C73A8
ΔE00 3.97
Denim
#1560BD
ΔE00 4.23
Windows Blue
#3778BF
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316CC1 #C18631
analogous
#31B4C1 #316CC1 #3E31C1
triadic
#316CC1 #C1316C #6CC131
tetradic
#316CC1 #C131B4 #C18631 #31C13E
square
#316CC1 #C131B4 #C18631 #31C13E
split-complementary
#316CC1 #C13E31 #B4C131
monochromatic
#18355F #255190 #316CC1 #5A8CD5 #8BAEE2
Accessibility & contrast
On white
5.19
#316CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#316CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316CC1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316CC1 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4174C4
Deuteranopia (green-blind)
#2567BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #316cc1; /* rgb */ color: rgb(49, 108, 193); /* oklch */ color: oklch(53.7% 0.147 257.9);
Tailwind
colors: {
custom: {
50: '#7c95d4',
500: '#316cc1',
950: '#000000',
},
}SCSS
$custom: #316cc1; $custom-light: #7c95d4; $custom-dark: #000000;
JSON
{
"hex": "#316cc1",
"rgb": {
"r": 49,
"g": 108,
"b": 193
},
"hsl": {
"h": 215.417,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.53704,
"c": 0.14657,
"h": 257.9
},
"luminance": 0.15228
}Semantic roles & 50–950 ramp
primary
#316CC1
secondary
#CCAE82
accent
#A245E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83