#3170B2#3170B2
#3170B2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.122 H 252.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3170B2 |
|---|---|
| RGB | rgb(49, 112, 178) |
| HSL | hsl(211, 57%, 45%) |
| HSV | hsv(211, 72%, 70%) |
| CMYK | cmyk(72.5%, 37.1%, 0%, 30.2%) |
| CIE-LAB | lab(46.25, 2.44, -40.87) |
| CIE-LCH | lch(46.25, 40.94, 273.42°) |
| OKLab | oklab(53.67% -0.0377 -0.1163) |
| OKLCH | oklch(53.67% 0.122 252) |
| XYZ | xyz(15.0937, 15.4540, 44.2983) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.06
Flat Blue
#3C73A8
ΔE00 1.72
Mid Blue
#276AB3
ΔE00 2.15
Bluish
#2976BB
ΔE00 2.59
Muted Blue
#3B719F
ΔE00 2.66
Windows Blue
#3778BF
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3170B2 #B27331
analogous
#31B0B2 #3170B2 #3331B2
triadic
#3170B2 #B23170 #70B231
tetradic
#3170B2 #B231B0 #B27331 #31B233
square
#3170B2 #B231B0 #B27331 #31B233
split-complementary
#3170B2 #B23331 #B0B231
monochromatic
#173452 #245282 #3170B2 #518FCF #81AEDC
Accessibility & contrast
On white
5.13
#3170B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#3170B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3170B2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3170B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3170B2 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3170b2; /* rgb */ color: rgb(49, 112, 178); /* oklch */ color: oklch(53.7% 0.122 252.0);
Tailwind
colors: {
custom: {
50: '#7998c9',
500: '#3170b2',
950: '#000000',
},
}SCSS
$custom: #3170b2; $custom-light: #7998c9; $custom-dark: #000000;
JSON
{
"hex": "#3170b2",
"rgb": {
"r": 49,
"g": 112,
"b": 178
},
"hsl": {
"h": 210.698,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.53665,
"c": 0.12226,
"h": 252
},
"luminance": 0.15456
}Semantic roles & 50–950 ramp
primary
#3170B2
secondary
#C5A079
accent
#9648E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82