#3174B8#3174B8

#3174B8 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.126 H 251.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3174B8
RGBrgb(49, 116, 184)
HSLhsl(210, 58%, 46%)
HSVhsv(210, 73%, 72%)
CMYKcmyk(73.4%, 37%, 0%, 27.8%)
CIE-LABlab(47.76, 2.19, -41.96)
CIE-LCHlch(47.76, 42.02, 272.99°)
OKLaboklab(54.95% -0.04 -0.1194)
OKLCHoklch(54.95% 0.126 251.5)
XYZxyz(16.1605, 16.6026, 47.6910)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174B8 #B87531
analogous
#31B7B8 #3174B8 #3131B8
triadic
#3174B8 #B83174 #74B831
tetradic
#3174B8 #B831B7 #B87531 #31B831
square
#3174B8 #B831B7 #B87531 #31B831
split-complementary
#3174B8 #B83131 #B7B831
monochromatic
#173757 #245688 #3174B8 #5593D2 #85B1DE

Accessibility & contrast

On white

4.86
#3174B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3174B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174B8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174B8#FFFFFF#000000##FFFFFF
##3174B81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BB
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3174b8;
/* rgb */ color: rgb(49, 116, 184);
/* oklch */ color: oklch(54.9% 0.126 251.5);
Tailwind
colors: {
  custom: {
    50: '#7b9bcd',
    500: '#3174b8',
    950: '#000000',
  },
}
SCSS
$custom: #3174b8;
$custom-light: #7b9bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3174b8",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 184
  },
  "hsl": {
    "h": 210.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.12596,
    "h": 251.5
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#3174B8
secondary
#C8A37D
accent
#9447E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3174B8

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

Preview Lab → · Contrast checker → · Palette generator →

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