#3170B1#3170B1
#3170B1 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.121 H 251.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3170B1 |
|---|---|
| RGB | rgb(49, 112, 177) |
| HSL | hsl(210, 57%, 44%) |
| HSV | hsv(210, 72%, 69%) |
| CMYK | cmyk(72.3%, 36.7%, 0%, 30.6%) |
| CIE-LAB | lab(46.20, 2.08, -40.37) |
| CIE-LCH | lch(46.20, 40.43, 272.94°) |
| OKLab | oklab(53.61% -0.038 -0.1148) |
| OKLCH | oklch(53.61% 0.121 251.7) |
| XYZ | xyz(14.9936, 15.4140, 43.7714) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.20
Flat Blue
#3C73A8
ΔE00 1.65
Mid Blue
#276AB3
ΔE00 2.17
Muted Blue
#3B719F
ΔE00 2.55
Bluish
#2976BB
ΔE00 2.58
Windows Blue
#3778BF
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170B1 #B17231
analogous
#31B0B1 #3170B1 #3231B1
triadic
#3170B1 #B13170 #70B131
tetradic
#3170B1 #B131B0 #B17231 #31B132
square
#3170B1 #B131B0 #B17231 #31B132
split-complementary
#3170B1 #B13231 #B0B131
monochromatic
#163351 #245281 #3170B1 #518FCF #80ADDC
Accessibility & contrast
On white
5.14
#3170B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#3170B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170B1
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170B1 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #3170b1; /* rgb */ color: rgb(49, 112, 177); /* oklch */ color: oklch(53.6% 0.121 251.7);
Tailwind
colors: {
custom: {
50: '#7998c8',
500: '#3170b1',
950: '#000000',
},
}SCSS
$custom: #3170b1; $custom-light: #7998c8; $custom-dark: #000000;
JSON
{
"hex": "#3170b1",
"rgb": {
"r": 49,
"g": 112,
"b": 177
},
"hsl": {
"h": 210.469,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.53605,
"c": 0.12097,
"h": 251.7
},
"luminance": 0.15416
}Semantic roles & 50–950 ramp
primary
#3170B1
secondary
#C59F79
accent
#9548E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82