#3170B9#3170B9
#3170B9 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.131 H 254.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3170B9 |
|---|---|
| RGB | rgb(49, 112, 185) |
| HSL | hsl(212, 58%, 46%) |
| HSV | hsv(212, 74%, 73%) |
| CMYK | cmyk(73.5%, 39.5%, 0%, 27.5%) |
| CIE-LAB | lab(46.63, 5.03, -44.32) |
| CIE-LCH | lch(46.63, 44.61, 276.47°) |
| OKLab | oklab(54.09% -0.036 -0.1264) |
| OKLCH | oklch(54.09% 0.131 254.1) |
| XYZ | xyz(15.8145, 15.7423, 48.0946) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.46
Mid Blue
#276AB3
ΔE00 2.30
Flat Blue
#3C73A8
ΔE00 2.32
Bluish
#2976BB
ΔE00 2.81
Windows Blue
#3778BF
ΔE00 2.99
Muted Blue
#3B719F
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170B9 #B97A31
analogous
#31B4B9 #3170B9 #3631B9
triadic
#3170B9 #B93170 #70B931
tetradic
#3170B9 #B931B4 #B97A31 #31B936
square
#3170B9 #B931B4 #B97A31 #31B936
split-complementary
#3170B9 #B93631 #B4B931
monochromatic
#173558 #245389 #3170B9 #558FD2 #86AFDF
Accessibility & contrast
On white
5.06
#3170B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#3170B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170B9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170B9 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E75BC
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3170b9; /* rgb */ color: rgb(49, 112, 185); /* oklch */ color: oklch(54.1% 0.131 254.1);
Tailwind
colors: {
custom: {
50: '#7b98ce',
500: '#3170b9',
950: '#000000',
},
}SCSS
$custom: #3170b9; $custom-light: #7b98ce; $custom-dark: #000000;
JSON
{
"hex": "#3170b9",
"rgb": {
"r": 49,
"g": 112,
"b": 185
},
"hsl": {
"h": 212.206,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.5409,
"c": 0.13145,
"h": 254.1
},
"luminance": 0.15744
}Semantic roles & 50–950 ramp
primary
#3170B9
secondary
#C8A67D
accent
#9A46E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82