#3174AB#3174AB

#3174AB is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.2% C 0.110 H 246.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3174AB
RGBrgb(49, 116, 171)
HSLhsl(207, 55%, 43%)
HSVhsv(207, 71%, 67%)
CMYKcmyk(71.3%, 32.2%, 0%, 32.9%)
CIE-LABlab(47.08, -2.55, -35.47)
CIE-LCHlch(47.08, 35.57, 265.89°)
OKLaboklab(54.2% -0.0436 -0.1005)
OKLCHoklch(54.2% 0.11 246.5)
XYZxyz(14.8599, 16.0824, 40.8412)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174AB #AB6831
analogous
#31ABA5 #3174AB #3137AB
triadic
#3174AB #AB3174 #74AB31
tetradic
#3174AB #A531AB #AB6831 #37AB31
square
#3174AB #A531AB #AB6831 #37AB31
split-complementary
#3174AB #AB3137 #ABA531
monochromatic
#16334C #23547B #3174AB #4D93CC #7DB0DA

Accessibility & contrast

On white

4.98
#3174AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3174AB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174AB#FFFFFF#000000##FFFFFF
##3174AB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3174ab;
/* rgb */ color: rgb(49, 116, 171);
/* oklch */ color: oklch(54.2% 0.110 246.5);
Tailwind
colors: {
  custom: {
    50: '#789bc4',
    500: '#3174ab',
    950: '#000000',
  },
}
SCSS
$custom: #3174ab;
$custom-light: #789bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3174ab",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 207.049,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.542,
    "c": 0.10954,
    "h": 246.5
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#3174AB
secondary
#C29875
accent
#8D49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3174AB

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

Preview Lab → · Contrast checker → · Palette generator →

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