#3174B4#3174B4

#3174B4 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.121 H 250.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3174B4
RGBrgb(49, 116, 180)
HSLhsl(209, 57%, 45%)
HSVhsv(209, 73%, 71%)
CMYKcmyk(72.8%, 35.6%, 0%, 29.4%)
CIE-LABlab(47.54, 0.72, -39.98)
CIE-LCHlch(47.54, 39.99, 271.04°)
OKLaboklab(54.71% -0.041 -0.1136)
OKLCHoklch(54.71% 0.121 250.1)
XYZxyz(15.7471, 16.4373, 45.5140)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174B4 #B47131
analogous
#31B4B2 #3174B4 #3133B4
triadic
#3174B4 #B43174 #74B431
tetradic
#3174B4 #B231B4 #B47131 #33B431
square
#3174B4 #B231B4 #B47131 #33B431
split-complementary
#3174B4 #B43133 #B4B231
monochromatic
#173654 #245584 #3174B4 #5293D0 #82B1DD

Accessibility & contrast

On white

4.90
#3174B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3174B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174B4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174B4#FFFFFF#000000##FFFFFF
##3174B41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B7
Deuteranopia (green-blind)
#446BB3
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3174b4;
/* rgb */ color: rgb(49, 116, 180);
/* oklch */ color: oklch(54.7% 0.121 250.1);
Tailwind
colors: {
  custom: {
    50: '#7a9bcb',
    500: '#3174b4',
    950: '#000000',
  },
}
SCSS
$custom: #3174b4;
$custom-light: #7a9bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3174b4",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 180
  },
  "hsl": {
    "h": 209.313,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.12083,
    "h": 250.1
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#3174B4
secondary
#C6A07B
accent
#9247E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174B4

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

Preview Lab → · Contrast checker → · Palette generator →

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