#3174B5#3174B5

#3174B5 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.122 H 250.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3174B5
RGBrgb(49, 116, 181)
HSLhsl(210, 57%, 45%)
HSVhsv(210, 73%, 71%)
CMYKcmyk(72.9%, 35.9%, 0%, 29%)
CIE-LABlab(47.60, 1.09, -40.48)
CIE-LCHlch(47.60, 40.49, 271.54°)
OKLaboklab(54.77% -0.0408 -0.1151)
OKLCHoklch(54.77% 0.122 250.5)
XYZxyz(15.8494, 16.4782, 46.0524)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174B5 #B57231
analogous
#31B5B4 #3174B5 #3132B5
triadic
#3174B5 #B53174 #74B531
tetradic
#3174B5 #B431B5 #B57231 #32B531
square
#3174B5 #B431B5 #B57231 #32B531
split-complementary
#3174B5 #B53132 #B5B431
monochromatic
#173655 #245585 #3174B5 #5393D0 #83B1DD

Accessibility & contrast

On white

4.89
#3174B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3174B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174B5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174B5#FFFFFF#000000##FFFFFF
##3174B51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5678B8
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3174b5;
/* rgb */ color: rgb(49, 116, 181);
/* oklch */ color: oklch(54.8% 0.122 250.5);
Tailwind
colors: {
  custom: {
    50: '#7a9bcb',
    500: '#3174b5',
    950: '#000000',
  },
}
SCSS
$custom: #3174b5;
$custom-light: #7a9bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3174b5",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 181
  },
  "hsl": {
    "h": 209.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.12211,
    "h": 250.5
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#3174B5
secondary
#C7A07B
accent
#9347E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174B5

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

Preview Lab → · Contrast checker → · Palette generator →

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