#3174A5#3174A5

#3174A5 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.9% C 0.102 H 243.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3174A5
RGBrgb(49, 116, 165)
HSLhsl(205, 54%, 42%)
HSVhsv(205, 70%, 65%)
CMYKcmyk(70.3%, 29.7%, 0%, 35.3%)
CIE-LABlab(46.79, -4.70, -32.43)
CIE-LCHlch(46.79, 32.77, 261.75°)
OKLaboklab(53.87% -0.0455 -0.0916)
OKLCHoklch(53.87% 0.102 243.6)
XYZxyz(14.3009, 15.8588, 37.8974)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174A5 #A56231
analogous
#31A59C #3174A5 #313AA5
triadic
#3174A5 #A53174 #74A531
tetradic
#3174A5 #9C31A5 #A56231 #3AA531
square
#3174A5 #9C31A5 #A56231 #3AA531
split-complementary
#3174A5 #A5313A #A59C31
monochromatic
#153247 #235376 #3174A5 #4A93C9 #79B0D7

Accessibility & contrast

On white

5.03
#3174A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3174A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174A5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174A5#FFFFFF#000000##FFFFFF
##3174A51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A7
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3174a5;
/* rgb */ color: rgb(49, 116, 165);
/* oklch */ color: oklch(53.9% 0.102 243.6);
Tailwind
colors: {
  custom: {
    50: '#779bc0',
    500: '#3174a5',
    950: '#000000',
  },
}
SCSS
$custom: #3174a5;
$custom-light: #779bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3174a5",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 165
  },
  "hsl": {
    "h": 205.345,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.10229,
    "h": 243.6
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#3174A5
secondary
#C09372
accent
#884ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3174A5

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

Preview Lab → · Contrast checker → · Palette generator →

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