#316DC2#316DC2
#316DC2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.147 H 257.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #316DC2 |
|---|---|
| RGB | rgb(49, 109, 194) |
| HSL | hsl(215, 60%, 48%) |
| HSV | hsv(215, 75%, 76%) |
| CMYK | cmyk(74.7%, 43.8%, 0%, 23.9%) |
| CIE-LAB | lab(46.29, 10.26, -50.08) |
| CIE-LCH | lch(46.29, 51.12, 281.58°) |
| OKLab | oklab(53.99% -0.0313 -0.1434) |
| OKLCH | oklch(53.99% 0.147 257.7) |
| XYZ | xyz(16.4693, 15.4834, 53.1491) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.76
Mid Blue
#276AB3
ΔE00 2.62
French Blue
#436BAD
ΔE00 2.97
Flat Blue
#3C73A8
ΔE00 3.80
Windows Blue
#3778BF
ΔE00 4.16
Bluish
#2976BB
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316DC2 #C28631
analogous
#31B6C2 #316DC2 #3D31C2
triadic
#316DC2 #C2316D #6DC231
tetradic
#316DC2 #C231B6 #C28631 #31C23D
square
#316DC2 #C231B6 #C28631 #31C23D
split-complementary
#316DC2 #C23D31 #B6C231
monochromatic
#183660 #255291 #316DC2 #5B8ED6 #8CAFE2
Accessibility & contrast
On white
5.13
#316DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#316DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316DC2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316DC2 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #316dc2; /* rgb */ color: rgb(49, 109, 194); /* oklch */ color: oklch(54.0% 0.147 257.7);
Tailwind
colors: {
custom: {
50: '#7d96d5',
500: '#316dc2',
950: '#000000',
},
}SCSS
$custom: #316dc2; $custom-light: #7d96d5; $custom-dark: #000000;
JSON
{
"hex": "#316dc2",
"rgb": {
"r": 49,
"g": 109,
"b": 194
},
"hsl": {
"h": 215.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.53992,
"c": 0.14677,
"h": 257.7
},
"luminance": 0.15485
}Semantic roles & 50–950 ramp
primary
#316DC2
secondary
#CCAE83
accent
#A245E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83