#3174AD#3174AD

#3174AD is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.3% C 0.112 H 247.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3174AD
RGBrgb(49, 116, 173)
HSLhsl(208, 56%, 44%)
HSVhsv(208, 72%, 68%)
CMYKcmyk(71.7%, 32.9%, 0%, 32.2%)
CIE-LABlab(47.18, -1.83, -36.48)
CIE-LCHlch(47.18, 36.53, 267.13°)
OKLaboklab(54.31% -0.043 -0.1034)
OKLCHoklch(54.31% 0.112 247.4)
XYZxyz(15.0520, 16.1592, 41.8528)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174AD #AD6A31
analogous
#31ADA8 #3174AD #3136AD
triadic
#3174AD #AD3174 #74AD31
tetradic
#3174AD #A831AD #AD6A31 #36AD31
square
#3174AD #A831AD #AD6A31 #36AD31
split-complementary
#3174AD #AD3136 #ADA831
monochromatic
#16344E #23547D #3174AD #4E93CD #7EB0DA

Accessibility & contrast

On white

4.96
#3174AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3174AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174AD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174AD#FFFFFF#000000##FFFFFF
##3174AD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AF
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3174ad;
/* rgb */ color: rgb(49, 116, 173);
/* oklch */ color: oklch(54.3% 0.112 247.4);
Tailwind
colors: {
  custom: {
    50: '#799bc5',
    500: '#3174ad',
    950: '#000000',
  },
}
SCSS
$custom: #3174ad;
$custom-light: #799bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3174ad",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 173
  },
  "hsl": {
    "h": 207.581,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.11201,
    "h": 247.4
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#3174AD
secondary
#C39A77
accent
#8E49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174AD

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

Preview Lab → · Contrast checker → · Palette generator →

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