#3170B3#3170B3
#3170B3 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.124 H 252.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3170B3 |
|---|---|
| RGB | rgb(49, 112, 179) |
| HSL | hsl(211, 57%, 45%) |
| HSV | hsv(211, 73%, 70%) |
| CMYK | cmyk(72.6%, 37.4%, 0%, 29.8%) |
| CIE-LAB | lab(46.30, 2.81, -41.37) |
| CIE-LCH | lch(46.30, 41.46, 273.89°) |
| OKLab | oklab(53.72% -0.0375 -0.1177) |
| OKLCH | oklch(53.72% 0.124 252.4) |
| XYZ | xyz(15.1944, 15.4943, 44.8290) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.94
Flat Blue
#3C73A8
ΔE00 1.80
Mid Blue
#276AB3
ΔE00 2.14
Bluish
#2976BB
ΔE00 2.60
Muted Blue
#3B719F
ΔE00 2.78
Windows Blue
#3778BF
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170B3 #B37431
analogous
#31B1B3 #3170B3 #3331B3
triadic
#3170B3 #B33170 #70B331
tetradic
#3170B3 #B331B1 #B37431 #31B333
square
#3170B3 #B331B1 #B37431 #31B333
split-complementary
#3170B3 #B33331 #B1B331
monochromatic
#173453 #245283 #3170B3 #528FD0 #82AEDD
Accessibility & contrast
On white
5.12
#3170B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#3170B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170B3
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170B3 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5174B6
Deuteranopia (green-blind)
#3E68B2
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3170b3; /* rgb */ color: rgb(49, 112, 179); /* oklch */ color: oklch(53.7% 0.124 252.4);
Tailwind
colors: {
custom: {
50: '#7a98ca',
500: '#3170b3',
950: '#000000',
},
}SCSS
$custom: #3170b3; $custom-light: #7a98ca; $custom-dark: #000000;
JSON
{
"hex": "#3170b3",
"rgb": {
"r": 49,
"g": 112,
"b": 179
},
"hsl": {
"h": 210.923,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.53724,
"c": 0.12357,
"h": 252.4
},
"luminance": 0.15496
}Semantic roles & 50–950 ramp
primary
#3170B3
secondary
#C6A17A
accent
#9648E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82