#316AC6#316AC6
#316AC6 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.6% C 0.156 H 259.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #316AC6 |
|---|---|
| RGB | rgb(49, 106, 198) |
| HSL | hsl(217, 60%, 48%) |
| HSV | hsv(217, 75%, 78%) |
| CMYK | cmyk(75.3%, 46.5%, 0%, 22.4%) |
| CIE-LAB | lab(45.68, 13.66, -53.35) |
| CIE-LCH | lch(45.68, 55.08, 284.36°) |
| OKLab | oklab(53.6% -0.028 -0.1531) |
| OKLCH | oklch(53.6% 0.156 259.6) |
| XYZ | xyz(16.6100, 15.0364, 55.4420) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.97
Medium Blue
#2C6FBB
ΔE00 3.01
Mid Blue
#276AB3
ΔE00 3.24
Denim
#1560BD
ΔE00 3.88
Cerulean Blue
#056EEE
ΔE00 4.50
Royal Blue
#4169E1
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316AC6 #C68D31
analogous
#31B4C6 #316AC6 #4231C6
triadic
#316AC6 #C6316A #6AC631
tetradic
#316AC6 #C631B4 #C68D31 #31C642
square
#316AC6 #C631B4 #C68D31 #31C642
split-complementary
#316AC6 #C64231 #B4C631
monochromatic
#193564 #255095 #316AC6 #5D8CD7 #8EAFE3
Accessibility & contrast
On white
5.24
#316AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#316AC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316AC6
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316AC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316AC6 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3973C9
Deuteranopia (green-blind)
#1366C4
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #316ac6; /* rgb */ color: rgb(49, 106, 198); /* oklch */ color: oklch(53.6% 0.156 259.6);
Tailwind
colors: {
custom: {
50: '#7d94d8',
500: '#316ac6',
950: '#000000',
},
}SCSS
$custom: #316ac6; $custom-light: #7d94d8; $custom-dark: #000000;
JSON
{
"hex": "#316ac6",
"rgb": {
"r": 49,
"g": 106,
"b": 198
},
"hsl": {
"h": 217.047,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.53604,
"c": 0.15562,
"h": 259.6
},
"luminance": 0.15038
}Semantic roles & 50–950 ramp
primary
#316AC6
secondary
#CEB285
accent
#A744E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83