#317AB6#317AB6
#317AB6 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.118 H 246.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #317AB6 |
|---|---|
| RGB | rgb(49, 122, 182) |
| HSL | hsl(207, 58%, 45%) |
| HSV | hsv(207, 73%, 71%) |
| CMYK | cmyk(73.1%, 33%, 0%, 28.6%) |
| CIE-LAB | lab(49.43, -2.18, -38.16) |
| CIE-LCH | lch(49.43, 38.22, 266.73°) |
| OKLab | oklab(56.23% -0.0463 -0.1082) |
| OKLCH | oklch(56.23% 0.118 246.9) |
| XYZ | xyz(16.6664, 17.9476, 46.8328) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.76
Windows Blue
#3778BF
ΔE00 2.42
Flat Blue
#3C73A8
ΔE00 3.22
Steel Blue
#4682B4
ΔE00 3.37
Nice Blue
#107AB0
ΔE00 3.53
Cool Blue
#4984B8
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317AB6 #B66D31
analogous
#31B6B0 #317AB6 #3137B6
triadic
#317AB6 #B6317A #7AB631
tetradic
#317AB6 #B031B6 #B66D31 #37B631
square
#317AB6 #B031B6 #B66D31 #37B631
split-complementary
#317AB6 #B63137 #B6B031
monochromatic
#173956 #245A86 #317AB6 #5398D1 #84B5DE
Accessibility & contrast
On white
4.58
#317AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#317AB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317AB6
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317AB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317AB6 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB9
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #317ab6; /* rgb */ color: rgb(49, 122, 182); /* oklch */ color: oklch(56.2% 0.118 246.9);
Tailwind
colors: {
custom: {
50: '#7aa0cc',
500: '#317ab6',
950: '#000000',
},
}SCSS
$custom: #317ab6; $custom-light: #7aa0cc; $custom-dark: #000000;
JSON
{
"hex": "#317ab6",
"rgb": {
"r": 49,
"g": 122,
"b": 182
},
"hsl": {
"h": 207.068,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.56231,
"c": 0.11771,
"h": 246.9
},
"luminance": 0.17949
}Semantic roles & 50–950 ramp
primary
#317AB6
secondary
#C79E7C
accent
#8C47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82