#3174B2#3174B2

#3174B2 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.6% C 0.118 H 249.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3174B2
RGBrgb(49, 116, 178)
HSLhsl(209, 57%, 45%)
HSVhsv(209, 72%, 70%)
CMYKcmyk(72.5%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.44, -0.01, -38.99)
CIE-LCHlch(47.44, 38.99, 269.99°)
OKLaboklab(54.6% -0.0416 -0.1107)
OKLCHoklch(54.6% 0.118 249.4)
XYZxyz(15.5449, 16.3564, 44.4487)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174B2 #B26F31
analogous
#31B2B0 #3174B2 #3134B2
triadic
#3174B2 #B23174 #74B231
tetradic
#3174B2 #B031B2 #B26F31 #34B231
square
#3174B2 #B031B2 #B26F31 #34B231
split-complementary
#3174B2 #B23134 #B2B031
monochromatic
#173552 #245582 #3174B2 #5193CF #81B0DC

Accessibility & contrast

On white

4.92
#3174B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3174B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174B2#FFFFFF#000000##FFFFFF
##3174B21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3174b2;
/* rgb */ color: rgb(49, 116, 178);
/* oklch */ color: oklch(54.6% 0.118 249.4);
Tailwind
colors: {
  custom: {
    50: '#799bc9',
    500: '#3174b2',
    950: '#000000',
  },
}
SCSS
$custom: #3174b2;
$custom-light: #799bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3174b2",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 208.837,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54596,
    "c": 0.11829,
    "h": 249.4
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#3174B2
secondary
#C59E79
accent
#9148E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174B2

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

Preview Lab → · Contrast checker → · Palette generator →

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