#316CC6#316CC6
#316CC6 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.153 H 258.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #316CC6 |
|---|---|
| RGB | rgb(49, 108, 198) |
| HSL | hsl(216, 60%, 48%) |
| HSV | hsv(216, 75%, 78%) |
| CMYK | cmyk(75.3%, 45.5%, 0%, 22.4%) |
| CIE-LAB | lab(46.25, 12.39, -52.45) |
| CIE-LCH | lch(46.25, 53.89, 283.29°) |
| OKLab | oklab(54.04% -0.0297 -0.1504) |
| OKLCH | oklch(54.04% 0.153 258.8) |
| XYZ | xyz(16.8185, 15.4534, 55.5115) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.43
French Blue
#436BAD
ΔE00 3.08
Mid Blue
#276AB3
ΔE00 3.09
Cerulean Blue
#056EEE
ΔE00 4.26
Flat Blue
#3C73A8
ΔE00 4.37
Denim
#1560BD
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316CC6 #C68B31
analogous
#31B6C6 #316CC6 #4131C6
triadic
#316CC6 #C6316C #6CC631
tetradic
#316CC6 #C631B6 #C68B31 #31C641
square
#316CC6 #C631B6 #C68B31 #31C641
split-complementary
#316CC6 #C64131 #B6C631
monochromatic
#193664 #255195 #316CC6 #5D8DD7 #8EB0E3
Accessibility & contrast
On white
5.13
#316CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#316CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316CC6
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316CC6 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D75C9
Deuteranopia (green-blind)
#1C67C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #316cc6; /* rgb */ color: rgb(49, 108, 198); /* oklch */ color: oklch(54.0% 0.153 258.8);
Tailwind
colors: {
custom: {
50: '#7d95d8',
500: '#316cc6',
950: '#000000',
},
}SCSS
$custom: #316cc6; $custom-light: #7d95d8; $custom-dark: #000000;
JSON
{
"hex": "#316cc6",
"rgb": {
"r": 49,
"g": 108,
"b": 198
},
"hsl": {
"h": 216.242,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.54039,
"c": 0.15327,
"h": 258.8
},
"luminance": 0.15455
}Semantic roles & 50–950 ramp
primary
#316CC6
secondary
#CEB185
accent
#A444E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83