#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
RGBrgb(49, 112, 177)
HSLhsl(210, 57%, 44%)
HSVhsv(210, 72%, 69%)
CMYKcmyk(72.3%, 36.7%, 0%, 30.6%)
CIE-LABlab(46.20, 2.08, -40.37)
CIE-LCHlch(46.20, 40.43, 272.94°)
OKLaboklab(53.61% -0.038 -0.1148)
OKLCHoklch(53.61% 0.121 251.7)
XYZxyz(14.9936, 15.4140, 43.7714)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##3170B11.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.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

Preview Lab

Preview with #3170B1

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

Preview Lab → · Contrast checker → · Palette generator →

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