#3174C1#3174C1

#3174C1 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.5% C 0.138 H 254.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3174C1
RGBrgb(49, 116, 193)
HSLhsl(212, 60%, 47%)
HSVhsv(212, 75%, 76%)
CMYKcmyk(74.6%, 39.9%, 0%, 24.3%)
CIE-LABlab(48.25, 5.51, -46.37)
CIE-LCHlch(48.25, 46.70, 276.78°)
OKLaboklab(55.5% -0.0378 -0.1324)
OKLCHoklch(55.5% 0.138 254.1)
XYZxyz(17.1341, 16.9921, 52.8185)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174C1 #C17E31
analogous
#31BCC1 #3174C1 #3631C1
triadic
#3174C1 #C13174 #74C131
tetradic
#3174C1 #C131BC #C17E31 #31C136
square
#3174C1 #C131BC #C17E31 #31C136
split-complementary
#3174C1 #C13631 #BCC131
monochromatic
#18395F #255790 #3174C1 #5A93D5 #8BB3E2

Accessibility & contrast

On white

4.77
#3174C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3174C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174C1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174C1#FFFFFF#000000##FFFFFF
##3174C11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507AC4
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3174c1;
/* rgb */ color: rgb(49, 116, 193);
/* oklch */ color: oklch(55.5% 0.138 254.1);
Tailwind
colors: {
  custom: {
    50: '#7c9bd4',
    500: '#3174c1',
    950: '#000000',
  },
}
SCSS
$custom: #3174c1;
$custom-light: #7c9bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3174c1",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 193
  },
  "hsl": {
    "h": 212.083,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.13764,
    "h": 254.1
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#3174C1
secondary
#CCA982
accent
#9945E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3174C1

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

Preview Lab → · Contrast checker → · Palette generator →

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