#316FB8#316FB8
#316FB8 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.131 H 254.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #316FB8 |
|---|---|
| RGB | rgb(49, 111, 184) |
| HSL | hsl(212, 58%, 46%) |
| HSV | hsv(212, 73%, 72%) |
| CMYK | cmyk(73.4%, 39.7%, 0%, 27.8%) |
| CIE-LAB | lab(46.29, 5.28, -44.30) |
| CIE-LCH | lch(46.29, 44.61, 276.80°) |
| OKLab | oklab(53.8% -0.0353 -0.1264) |
| OKLCH | oklch(53.8% 0.131 254.4) |
| XYZ | xyz(15.5996, 15.4808, 47.5041) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.43
Mid Blue
#276AB3
ΔE00 1.97
Flat Blue
#3C73A8
ΔE00 2.46
Bluish
#2976BB
ΔE00 3.16
French Blue
#436BAD
ΔE00 3.30
Windows Blue
#3778BF
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316FB8 #B87A31
analogous
#31B3B8 #316FB8 #3631B8
triadic
#316FB8 #B8316F #6FB831
tetradic
#316FB8 #B831B3 #B87A31 #31B836
square
#316FB8 #B831B3 #B87A31 #31B836
split-complementary
#316FB8 #B83631 #B3B831
monochromatic
#173557 #245288 #316FB8 #558ED2 #85AEDE
Accessibility & contrast
On white
5.13
#316FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#316FB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316FB8
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316FB8 | 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)
#4D74BB
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #316fb8; /* rgb */ color: rgb(49, 111, 184); /* oklch */ color: oklch(53.8% 0.131 254.4);
Tailwind
colors: {
custom: {
50: '#7b97ce',
500: '#316fb8',
950: '#000000',
},
}SCSS
$custom: #316fb8; $custom-light: #7b97ce; $custom-dark: #000000;
JSON
{
"hex": "#316fb8",
"rgb": {
"r": 49,
"g": 111,
"b": 184
},
"hsl": {
"h": 212.444,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.538,
"c": 0.13121,
"h": 254.4
},
"luminance": 0.15483
}Semantic roles & 50–950 ramp
primary
#316FB8
secondary
#C8A57D
accent
#9A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82