#316CB4#316CB4
#316CB4 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.129 H 255.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #316CB4 |
|---|---|
| RGB | rgb(49, 108, 180) |
| HSL | hsl(213, 57%, 45%) |
| HSV | hsv(213, 73%, 71%) |
| CMYK | cmyk(72.8%, 40%, 0%, 29.4%) |
| CIE-LAB | lab(45.18, 5.67, -43.73) |
| CIE-LCH | lch(45.18, 44.10, 277.39°) |
| OKLab | oklab(52.87% -0.0334 -0.1247) |
| OKLCH | oklch(52.87% 0.129 255) |
| XYZ | xyz(14.8644, 14.6717, 45.2197) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.12
Medium Blue
#2C6FBB
ΔE00 1.39
French Blue
#436BAD
ΔE00 2.66
Flat Blue
#3C73A8
ΔE00 3.07
Muted Blue
#3B719F
ΔE00 3.63
Denim
#1560BD
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316CB4 #B47931
analogous
#31AEB4 #316CB4 #3831B4
triadic
#316CB4 #B4316C #6CB431
tetradic
#316CB4 #B431AE #B47931 #31B438
square
#316CB4 #B431AE #B47931 #31B438
split-complementary
#316CB4 #B43831 #AEB431
monochromatic
#173254 #244F84 #316CB4 #528BD0 #82ABDD
Accessibility & contrast
On white
5.34
#316CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#316CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316CB4
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316CB4 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A72B7
Deuteranopia (green-blind)
#3665B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #316cb4; /* rgb */ color: rgb(49, 108, 180); /* oklch */ color: oklch(52.9% 0.129 255.0);
Tailwind
colors: {
custom: {
50: '#7a95cb',
500: '#316cb4',
950: '#000000',
},
}SCSS
$custom: #316cb4; $custom-light: #7a95cb; $custom-dark: #000000;
JSON
{
"hex": "#316cb4",
"rgb": {
"r": 49,
"g": 108,
"b": 180
},
"hsl": {
"h": 212.977,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.52866,
"c": 0.12915,
"h": 255
},
"luminance": 0.14673
}Semantic roles & 50–950 ramp
primary
#316CB4
secondary
#C6A47B
accent
#9B47E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82