#316CC3#316CC3
#316CC3 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.149 H 258.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #316CC3 |
|---|---|
| RGB | rgb(49, 108, 195) |
| HSL | hsl(216, 60%, 48%) |
| HSV | hsv(216, 75%, 76%) |
| CMYK | cmyk(74.9%, 44.6%, 0%, 23.5%) |
| CIE-LAB | lab(46.06, 11.27, -51.02) |
| CIE-LCH | lch(46.06, 52.24, 282.46°) |
| OKLab | oklab(53.84% -0.0303 -0.1461) |
| OKLCH | oklch(53.84% 0.149 258.3) |
| XYZ | xyz(16.4759, 15.3164, 53.7072) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.13
Mid Blue
#276AB3
ΔE00 2.73
French Blue
#436BAD
ΔE00 2.88
Flat Blue
#3C73A8
ΔE00 4.13
Denim
#1560BD
ΔE00 4.30
Windows Blue
#3778BF
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316CC3 #C38831
analogous
#31B5C3 #316CC3 #3F31C3
triadic
#316CC3 #C3316C #6CC331
tetradic
#316CC3 #C331B5 #C38831 #31C33F
square
#316CC3 #C331B5 #C38831 #31C33F
split-complementary
#316CC3 #C33F31 #B5C331
monochromatic
#183661 #255192 #316CC3 #5B8DD6 #8CAFE2
Accessibility & contrast
On white
5.17
#316CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#316CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316CC3
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316CC3 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#2267C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #316cc3; /* rgb */ color: rgb(49, 108, 195); /* oklch */ color: oklch(53.8% 0.149 258.3);
Tailwind
colors: {
custom: {
50: '#7d95d6',
500: '#316cc3',
950: '#000000',
},
}SCSS
$custom: #316cc3; $custom-light: #7d95d6; $custom-dark: #000000;
JSON
{
"hex": "#316cc3",
"rgb": {
"r": 49,
"g": 108,
"b": 195
},
"hsl": {
"h": 215.753,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.53837,
"c": 0.14925,
"h": 258.3
},
"luminance": 0.15318
}Semantic roles & 50–950 ramp
primary
#316CC3
secondary
#CCAF83
accent
#A345E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83