#316FB5#316FB5
#316FB5 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.127 H 253.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #316FB5 |
|---|---|
| RGB | rgb(49, 111, 181) |
| HSL | hsl(212, 57%, 45%) |
| HSV | hsv(212, 73%, 71%) |
| CMYK | cmyk(72.9%, 38.7%, 0%, 29%) |
| CIE-LAB | lab(46.12, 4.17, -42.82) |
| CIE-LCH | lch(46.12, 43.03, 275.56°) |
| OKLab | oklab(53.62% -0.036 -0.122) |
| OKLCH | oklch(53.62% 0.127 253.6) |
| XYZ | xyz(15.2885, 15.3564, 45.8654) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.60
Mid Blue
#276AB3
ΔE00 1.83
Flat Blue
#3C73A8
ΔE00 2.22
Bluish
#2976BB
ΔE00 3.05
Muted Blue
#3B719F
ΔE00 3.13
French Blue
#436BAD
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316FB5 #B57731
analogous
#31B1B5 #316FB5 #3531B5
triadic
#316FB5 #B5316F #6FB531
tetradic
#316FB5 #B531B1 #B57731 #31B535
square
#316FB5 #B531B1 #B57731 #31B535
split-complementary
#316FB5 #B53531 #B1B531
monochromatic
#173455 #245185 #316FB5 #538ED0 #83ADDD
Accessibility & contrast
On white
5.16
#316FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#316FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316FB5
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316FB5 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #316fb5; /* rgb */ color: rgb(49, 111, 181); /* oklch */ color: oklch(53.6% 0.127 253.6);
Tailwind
colors: {
custom: {
50: '#7a97cb',
500: '#316fb5',
950: '#000000',
},
}SCSS
$custom: #316fb5; $custom-light: #7a97cb; $custom-dark: #000000;
JSON
{
"hex": "#316fb5",
"rgb": {
"r": 49,
"g": 111,
"b": 181
},
"hsl": {
"h": 211.818,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.53615,
"c": 0.12724,
"h": 253.6
},
"luminance": 0.15358
}Semantic roles & 50–950 ramp
primary
#316FB5
secondary
#C7A37B
accent
#9947E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82