#3174BC#3174BC

#3174BC is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.2% C 0.131 H 252.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3174BC
RGBrgb(49, 116, 188)
HSLhsl(211, 59%, 46%)
HSVhsv(211, 74%, 74%)
CMYKcmyk(73.9%, 38.3%, 0%, 26.3%)
CIE-LABlab(47.97, 3.66, -43.93)
CIE-LCHlch(47.97, 44.08, 274.77°)
OKLaboklab(55.19% -0.039 -0.1252)
OKLCHoklch(55.19% 0.131 252.7)
XYZxyz(16.5857, 16.7727, 49.9305)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174BC #BC7931
analogous
#31BABC #3174BC #3331BC
triadic
#3174BC #BC3174 #74BC31
tetradic
#3174BC #BC31BA #BC7931 #31BC33
square
#3174BC #BC31BA #BC7931 #31BC33
split-complementary
#3174BC #BC3331 #BABC31
monochromatic
#18385B #24568B #3174BC #5793D3 #88B2E0

Accessibility & contrast

On white

4.82
#3174BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3174BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174BC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174BC#FFFFFF#000000##FFFFFF
##3174BC1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3174bc;
/* rgb */ color: rgb(49, 116, 188);
/* oklch */ color: oklch(55.2% 0.131 252.7);
Tailwind
colors: {
  custom: {
    50: '#7b9bd0',
    500: '#3174bc',
    950: '#000000',
  },
}
SCSS
$custom: #3174bc;
$custom-light: #7b9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3174bc",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 211.079,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.13113,
    "h": 252.7
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#3174BC
secondary
#CAA67F
accent
#9746E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3174BC

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

Preview Lab → · Contrast checker → · Palette generator →

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