#3173BA#3173BA
#3173BA is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.130 H 252.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3173BA |
|---|---|
| RGB | rgb(49, 115, 186) |
| HSL | hsl(211, 58%, 46%) |
| HSV | hsv(211, 74%, 73%) |
| CMYK | cmyk(73.7%, 38.2%, 0%, 27.1%) |
| CIE-LAB | lab(47.57, 3.54, -43.42) |
| CIE-LCH | lch(47.57, 43.56, 274.66°) |
| OKLab | oklab(54.84% -0.0385 -0.1237) |
| OKLCH | oklch(54.84% 0.13 252.7) |
| XYZ | xyz(16.2570, 16.4578, 48.7647) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.46
Bluish
#2976BB
ΔE00 1.71
Windows Blue
#3778BF
ΔE00 1.93
Flat Blue
#3C73A8
ΔE00 2.04
Mid Blue
#276AB3
ΔE00 3.31
Muted Blue
#3B719F
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3173BA #BA7831
analogous
#31B7BA #3173BA #3331BA
triadic
#3173BA #BA3173 #73BA31
tetradic
#3173BA #BA31B7 #BA7831 #31BA33
square
#3173BA #BA31B7 #BA7831 #31BA33
split-complementary
#3173BA #BA3331 #B7BA31
monochromatic
#173759 #24558A #3173BA #5692D2 #86B1DF
Accessibility & contrast
On white
4.89
#3173BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#3173BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3173BA
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3173BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3173BA | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3173ba; /* rgb */ color: rgb(49, 115, 186); /* oklch */ color: oklch(54.8% 0.130 252.7);
Tailwind
colors: {
custom: {
50: '#7b9acf',
500: '#3173ba',
950: '#000000',
},
}SCSS
$custom: #3173ba; $custom-light: #7b9acf; $custom-dark: #000000;
JSON
{
"hex": "#3173ba",
"rgb": {
"r": 49,
"g": 115,
"b": 186
},
"hsl": {
"h": 211.095,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.54838,
"c": 0.12958,
"h": 252.7
},
"luminance": 0.1646
}Semantic roles & 50–950 ramp
primary
#3173BA
secondary
#C9A57E
accent
#9746E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82