#3174B3#3174B3

#3174B3 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.120 H 249.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3174B3
RGBrgb(49, 116, 179)
HSLhsl(209, 57%, 45%)
HSVhsv(209, 73%, 70%)
CMYKcmyk(72.6%, 35.2%, 0%, 29.8%)
CIE-LABlab(47.49, 0.36, -39.49)
CIE-LCHlch(47.49, 39.49, 270.52°)
OKLaboklab(54.65% -0.0413 -0.1122)
OKLCHoklch(54.65% 0.12 249.8)
XYZxyz(15.6456, 16.3967, 44.9794)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174B3 #B37031
analogous
#31B3B1 #3174B3 #3133B3
triadic
#3174B3 #B33174 #74B331
tetradic
#3174B3 #B131B3 #B37031 #33B331
square
#3174B3 #B131B3 #B37031 #33B331
split-complementary
#3174B3 #B33133 #B3B131
monochromatic
#173653 #245583 #3174B3 #5293D0 #82B1DD

Accessibility & contrast

On white

4.91
#3174B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3174B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174B3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174B3#FFFFFF#000000##FFFFFF
##3174B31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#456BB2
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3174b3;
/* rgb */ color: rgb(49, 116, 179);
/* oklch */ color: oklch(54.7% 0.120 249.8);
Tailwind
colors: {
  custom: {
    50: '#7a9bca',
    500: '#3174b3',
    950: '#000000',
  },
}
SCSS
$custom: #3174b3;
$custom-light: #7a9bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3174b3",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 179
  },
  "hsl": {
    "h": 209.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.11955,
    "h": 249.8
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#3174B3
secondary
#C69F7A
accent
#9248E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3174B3

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

Preview Lab → · Contrast checker → · Palette generator →

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