#3174C4#3174C4

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

Color values

HEX#3174C4
RGBrgb(49, 116, 196)
HSLhsl(213, 60%, 48%)
HSVhsv(213, 75%, 77%)
CMYKcmyk(75%, 40.8%, 0%, 23.1%)
CIE-LABlab(48.42, 6.62, -47.82)
CIE-LCHlch(48.42, 48.28, 277.89°)
OKLaboklab(55.68% -0.0371 -0.1366)
OKLCHoklch(55.68% 0.142 254.8)
XYZxyz(17.4721, 17.1273, 54.5989)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174C4 #C48131
analogous
#31BDC4 #3174C4 #3731C4
triadic
#3174C4 #C43174 #74C431
tetradic
#3174C4 #C431BD #C48131 #31C437
square
#3174C4 #C431BD #C48131 #31C437
split-complementary
#3174C4 #C43731 #BDC431
monochromatic
#193A62 #255793 #3174C4 #5C94D6 #8DB4E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3174C4#FFFFFF#000000##FFFFFF
##3174C41.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)
#4E7AC7
Deuteranopia (green-blind)
#356DC2
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3174c4;
/* rgb */ color: rgb(49, 116, 196);
/* oklch */ color: oklch(55.7% 0.142 254.8);
Tailwind
colors: {
  custom: {
    50: '#7d9bd6',
    500: '#3174c4',
    950: '#000000',
  },
}
SCSS
$custom: #3174c4;
$custom-light: #7d9bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3174c4",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 196
  },
  "hsl": {
    "h": 212.653,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.14157,
    "h": 254.8
  },
  "luminance": 0.17129
}

Semantic roles & 50–950 ramp

primary
#3174C4
secondary
#CDAC84
accent
#9B45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3174C4

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

Preview Lab → · Contrast checker → · Palette generator →

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