#3170BF#3170BF

#3170BF is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.5% C 0.139 H 255.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3170BF
RGBrgb(49, 112, 191)
HSLhsl(213, 59%, 47%)
HSVhsv(213, 74%, 75%)
CMYKcmyk(74.3%, 41.4%, 0%, 25.1%)
CIE-LABlab(46.98, 7.26, -47.25)
CIE-LCHlch(46.98, 47.80, 278.73°)
OKLaboklab(54.47% -0.0346 -0.135)
OKLCHoklch(54.47% 0.139 255.6)
XYZxyz(16.4613, 16.0010, 51.5011)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3170BF #BF8031
analogous
#31B7BF #3170BF #3931BF
triadic
#3170BF #BF3170 #70BF31
tetradic
#3170BF #BF31B7 #BF8031 #31BF39
square
#3170BF #BF31B7 #BF8031 #31BF39
split-complementary
#3170BF #BF3931 #B7BF31
monochromatic
#18375E #25538E #3170BF #5990D4 #8AB0E1

Accessibility & contrast

On white

5.00
#3170BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3170BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3170BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3170BF#FFFFFF#000000##FFFFFF
##3170BF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C2
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3170bf;
/* rgb */ color: rgb(49, 112, 191);
/* oklch */ color: oklch(54.5% 0.139 255.6);
Tailwind
colors: {
  custom: {
    50: '#7c98d3',
    500: '#3170bf',
    950: '#000000',
  },
}
SCSS
$custom: #3170bf;
$custom-light: #7c98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3170bf",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 213.38,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.13938,
    "h": 255.6
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#3170BF
secondary
#CBAA81
accent
#9D45E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3170BF

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

Preview Lab → · Contrast checker → · Palette generator →

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