#317AB5#317AB5
#317AB5 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.116 H 246.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #317AB5 |
|---|---|
| RGB | rgb(49, 122, 181) |
| HSL | hsl(207, 57%, 45%) |
| HSV | hsv(207, 73%, 71%) |
| CMYK | cmyk(72.9%, 32.6%, 0%, 29%) |
| CIE-LAB | lab(49.38, -2.54, -37.66) |
| CIE-LCH | lch(49.38, 37.74, 266.14°) |
| OKLab | oklab(56.18% -0.0466 -0.1068) |
| OKLCH | oklch(56.18% 0.116 246.4) |
| XYZ | xyz(16.5635, 17.9064, 46.2904) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.86
Windows Blue
#3778BF
ΔE00 2.58
Flat Blue
#3C73A8
ΔE00 3.22
Nice Blue
#107AB0
ΔE00 3.36
Steel Blue
#4682B4
ΔE00 3.38
Muted Blue
#3B719F
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317AB5 #B56C31
analogous
#31B5AE #317AB5 #3138B5
triadic
#317AB5 #B5317A #7AB531
tetradic
#317AB5 #AE31B5 #B56C31 #38B531
square
#317AB5 #AE31B5 #B56C31 #38B531
split-complementary
#317AB5 #B53138 #B5AE31
monochromatic
#173955 #245A85 #317AB5 #5398D0 #83B5DD
Accessibility & contrast
On white
4.58
#317AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#317AB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317AB5
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317AB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317AB5 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #317ab5; /* rgb */ color: rgb(49, 122, 181); /* oklch */ color: oklch(56.2% 0.116 246.4);
Tailwind
colors: {
custom: {
50: '#7aa0cb',
500: '#317ab5',
950: '#000000',
},
}SCSS
$custom: #317ab5; $custom-light: #7aa0cb; $custom-dark: #000000;
JSON
{
"hex": "#317ab5",
"rgb": {
"r": 49,
"g": 122,
"b": 181
},
"hsl": {
"h": 206.818,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.56175,
"c": 0.11648,
"h": 246.4
},
"luminance": 0.17908
}Semantic roles & 50–950 ramp
primary
#317AB5
secondary
#C79D7B
accent
#8C47E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82