#3174C7#3174C7

#3174C7 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.9% C 0.145 H 255.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3174C7
RGBrgb(49, 116, 199)
HSLhsl(213, 60%, 49%)
HSVhsv(213, 75%, 78%)
CMYKcmyk(75.4%, 41.7%, 0%, 22%)
CIE-LABlab(48.59, 7.74, -49.27)
CIE-LCHlch(48.59, 49.87, 278.93°)
OKLaboklab(55.87% -0.0364 -0.1409)
OKLCHoklch(55.87% 0.146 255.5)
XYZxyz(17.8170, 17.2652, 56.4153)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174C7 #C78431
analogous
#31BFC7 #3174C7 #3931C7
triadic
#3174C7 #C73174 #74C731
tetradic
#3174C7 #C731BF #C78431 #31C739
square
#3174C7 #C731BF #C78431 #31C739
split-complementary
#3174C7 #C73931 #BFC731
monochromatic
#193B65 #255796 #3174C7 #5E94D7 #8FB5E3

Accessibility & contrast

On white

4.72
#3174C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3174C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174C7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174C7#FFFFFF#000000##FFFFFF
##3174C71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCA
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3174c7;
/* rgb */ color: rgb(49, 116, 199);
/* oklch */ color: oklch(55.9% 0.145 255.5);
Tailwind
colors: {
  custom: {
    50: '#7d9bd8',
    500: '#3174c7',
    950: '#000000',
  },
}
SCSS
$custom: #3174c7;
$custom-light: #7d9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3174c7",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 213.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.1455,
    "h": 255.5
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#3174C7
secondary
#CEAE86
accent
#9C44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3174C7

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

Preview Lab → · Contrast checker → · Palette generator →

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