#3173B5#3173B5
#3173B5 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.123 H 251.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3173B5 |
|---|---|
| RGB | rgb(49, 115, 181) |
| HSL | hsl(210, 57%, 45%) |
| HSV | hsv(210, 73%, 71%) |
| CMYK | cmyk(72.9%, 36.5%, 0%, 29%) |
| CIE-LAB | lab(47.30, 1.70, -40.95) |
| CIE-LCH | lch(47.30, 40.98, 272.38°) |
| OKLab | oklab(54.54% -0.0398 -0.1165) |
| OKLCH | oklch(54.54% 0.123 251.1) |
| XYZ | xyz(15.7347, 16.2489, 46.0142) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.47
Flat Blue
#3C73A8
ΔE00 1.56
Medium Blue
#2C6FBB
ΔE00 1.72
Windows Blue
#3778BF
ΔE00 2.24
Muted Blue
#3B719F
ΔE00 2.86
Mid Blue
#276AB3
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3173B5 #B57331
analogous
#31B5B5 #3173B5 #3131B5
triadic
#3173B5 #B53173 #73B531
tetradic
#3173B5 #B531B5 #B57331 #31B531
square
#3173B5 #B531B5 #B57331 #31B531
split-complementary
#3173B5 #B53131 #B5B531
monochromatic
#173655 #245485 #3173B5 #5392D0 #83B0DD
Accessibility & contrast
On white
4.94
#3173B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#3173B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3173B5
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3173B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3173B5 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5577B8
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3173b5; /* rgb */ color: rgb(49, 115, 181); /* oklch */ color: oklch(54.5% 0.123 251.1);
Tailwind
colors: {
custom: {
50: '#7a9acb',
500: '#3173b5',
950: '#000000',
},
}SCSS
$custom: #3173b5; $custom-light: #7a9acb; $custom-dark: #000000;
JSON
{
"hex": "#3173b5",
"rgb": {
"r": 49,
"g": 115,
"b": 181
},
"hsl": {
"h": 210,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.54539,
"c": 0.1231,
"h": 251.1
},
"luminance": 0.16251
}Semantic roles & 50–950 ramp
primary
#3173B5
secondary
#C7A17B
accent
#9447E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82