#3174C5#3174C5

#3174C5 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.7% C 0.143 H 255.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3174C5
RGBrgb(49, 116, 197)
HSLhsl(213, 60%, 48%)
HSVhsv(213, 75%, 77%)
CMYKcmyk(75.1%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.48, 7.00, -48.31)
CIE-LCHlch(48.48, 48.81, 278.24°)
OKLaboklab(55.75% -0.0369 -0.138)
OKLCHoklch(55.75% 0.143 255.1)
XYZxyz(17.5863, 17.1730, 55.2004)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174C5 #C58231
analogous
#31BEC5 #3174C5 #3831C5
triadic
#3174C5 #C53174 #74C531
tetradic
#3174C5 #C531BE #C58231 #31C538
square
#3174C5 #C531BE #C58231 #31C538
split-complementary
#3174C5 #C53831 #BEC531
monochromatic
#193A63 #255794 #3174C5 #5D94D7 #8EB4E3

Accessibility & contrast

On white

4.74
#3174C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3174C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174C5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174C5#FFFFFF#000000##FFFFFF
##3174C51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC8
Deuteranopia (green-blind)
#346DC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3174c5;
/* rgb */ color: rgb(49, 116, 197);
/* oklch */ color: oklch(55.7% 0.143 255.1);
Tailwind
colors: {
  custom: {
    50: '#7d9bd7',
    500: '#3174c5',
    950: '#000000',
  },
}
SCSS
$custom: #3174c5;
$custom-light: #7d9bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3174c5",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 212.838,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.14289,
    "h": 255.1
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#3174C5
secondary
#CDAC85
accent
#9B44E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3174C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3174C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva