#3170BD#3170BD

#3170BD is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.137 H 255.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3170BD
RGBrgb(49, 112, 189)
HSLhsl(213, 59%, 47%)
HSVhsv(213, 74%, 74%)
CMYKcmyk(74.1%, 40.7%, 0%, 25.9%)
CIE-LABlab(46.86, 6.51, -46.28)
CIE-LCHlch(46.86, 46.73, 278.01°)
OKLaboklab(54.34% -0.035 -0.1322)
OKLCHoklch(54.34% 0.137 255.1)
XYZxyz(16.2427, 15.9136, 50.3498)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170BD #BD7E31
analogous
#31B6BD #3170BD #3831BD
triadic
#3170BD #BD3170 #70BD31
tetradic
#3170BD #BD31B6 #BD7E31 #31BD38
square
#3170BD #BD31B6 #BD7E31 #31BD38
split-complementary
#3170BD #BD3831 #B6BD31
monochromatic
#18365C #24538C #3170BD #588FD4 #88B0E0

Accessibility & contrast

On white

5.02
#3170BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3170BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170BD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170BD#FFFFFF#000000##FFFFFF
##3170BD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3170bd;
/* rgb */ color: rgb(49, 112, 189);
/* oklch */ color: oklch(54.3% 0.137 255.1);
Tailwind
colors: {
  custom: {
    50: '#7c98d1',
    500: '#3170bd',
    950: '#000000',
  },
}
SCSS
$custom: #3170bd;
$custom-light: #7c98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3170bd",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 213,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.13673,
    "h": 255.1
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#3170BD
secondary
#CAA980
accent
#9C46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3170BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3170BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva