#316FB7#316FB7
#316FB7 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.130 H 254.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #316FB7 |
|---|---|
| RGB | rgb(49, 111, 183) |
| HSL | hsl(212, 58%, 45%) |
| HSV | hsv(212, 73%, 72%) |
| CMYK | cmyk(73.2%, 39.3%, 0%, 28.2%) |
| CIE-LAB | lab(46.23, 4.91, -43.81) |
| CIE-LCH | lch(46.23, 44.08, 276.40°) |
| OKLab | oklab(53.74% -0.0355 -0.1249) |
| OKLCH | oklch(53.74% 0.13 254.1) |
| XYZ | xyz(15.4951, 15.4390, 46.9540) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.46
Mid Blue
#276AB3
ΔE00 1.92
Flat Blue
#3C73A8
ΔE00 2.38
Bluish
#2976BB
ΔE00 3.12
French Blue
#436BAD
ΔE00 3.33
Muted Blue
#3B719F
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316FB7 #B77931
analogous
#31B2B7 #316FB7 #3631B7
triadic
#316FB7 #B7316F #6FB731
tetradic
#316FB7 #B731B2 #B77931 #31B736
square
#316FB7 #B731B2 #B77931 #31B736
split-complementary
#316FB7 #B73631 #B2B731
monochromatic
#173456 #245287 #316FB7 #548ED1 #84AEDE
Accessibility & contrast
On white
5.14
#316FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#316FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316FB7
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316FB7 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #316fb7; /* rgb */ color: rgb(49, 111, 183); /* oklch */ color: oklch(53.7% 0.130 254.1);
Tailwind
colors: {
custom: {
50: '#7a97cd',
500: '#316fb7',
950: '#000000',
},
}SCSS
$custom: #316fb7; $custom-light: #7a97cd; $custom-dark: #000000;
JSON
{
"hex": "#316fb7",
"rgb": {
"r": 49,
"g": 111,
"b": 183
},
"hsl": {
"h": 212.239,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.53738,
"c": 0.12988,
"h": 254.1
},
"luminance": 0.15441
}Semantic roles & 50–950 ramp
primary
#316FB7
secondary
#C8A57C
accent
#9A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82