#3174AC#3174AC

#3174AC is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.3% C 0.111 H 247.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3174AC
RGBrgb(49, 116, 172)
HSLhsl(207, 56%, 43%)
HSVhsv(207, 72%, 67%)
CMYKcmyk(71.5%, 32.6%, 0%, 32.5%)
CIE-LABlab(47.13, -2.19, -35.98)
CIE-LCHlch(47.13, 36.05, 266.52°)
OKLaboklab(54.26% -0.0433 -0.1019)
OKLCHoklch(54.26% 0.111 247)
XYZxyz(14.9556, 16.1207, 41.3451)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174AC #AC6931
analogous
#31ACA6 #3174AC #3136AC
triadic
#3174AC #AC3174 #74AC31
tetradic
#3174AC #A631AC #AC6931 #36AC31
square
#3174AC #A631AC #AC6931 #36AC31
split-complementary
#3174AC #AC3136 #ACA631
monochromatic
#16344D #23547C #3174AC #4E93CC #7DB0DA

Accessibility & contrast

On white

4.97
#3174AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3174AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174AC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174AC#FFFFFF#000000##FFFFFF
##3174AC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AE
Deuteranopia (green-blind)
#496BAB
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3174ac;
/* rgb */ color: rgb(49, 116, 172);
/* oklch */ color: oklch(54.3% 0.111 247.0);
Tailwind
colors: {
  custom: {
    50: '#789bc5',
    500: '#3174ac',
    950: '#000000',
  },
}
SCSS
$custom: #3174ac;
$custom-light: #789bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3174ac",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 172
  },
  "hsl": {
    "h": 207.317,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.11077,
    "h": 247
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#3174AC
secondary
#C39976
accent
#8D49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174AC

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

Preview Lab → · Contrast checker → · Palette generator →

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