#3174AF#3174AF

#3174AF is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.115 H 248.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3174AF
RGBrgb(49, 116, 175)
HSLhsl(208, 56%, 44%)
HSVhsv(208, 72%, 69%)
CMYKcmyk(72%, 33.7%, 0%, 31.4%)
CIE-LABlab(47.28, -1.10, -37.49)
CIE-LCHlch(47.28, 37.50, 268.32°)
OKLaboklab(54.42% -0.0424 -0.1063)
OKLCHoklch(54.42% 0.115 248.2)
XYZxyz(15.2470, 16.2372, 42.8797)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174AF #AF6C31
analogous
#31AFAB #3174AF #3135AF
triadic
#3174AF #AF3174 #74AF31
tetradic
#3174AF #AB31AF #AF6C31 #35AF31
square
#3174AF #AB31AF #AF6C31 #35AF31
split-complementary
#3174AF #AF3135 #AFAB31
monochromatic
#16354F #24547F #3174AF #4F93CE #7FB0DB

Accessibility & contrast

On white

4.94
#3174AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3174AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174AF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174AF#FFFFFF#000000##FFFFFF
##3174AF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5977B2
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3174af;
/* rgb */ color: rgb(49, 116, 175);
/* oklch */ color: oklch(54.4% 0.115 248.2);
Tailwind
colors: {
  custom: {
    50: '#799bc7',
    500: '#3174af',
    950: '#000000',
  },
}
SCSS
$custom: #3174af;
$custom-light: #799bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3174af",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 208.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.11451,
    "h": 248.2
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#3174AF
secondary
#C49B78
accent
#8F48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174AF

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

Preview Lab → · Contrast checker → · Palette generator →

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