#3174B9#3174B9

#3174B9 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.127 H 251.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3174B9
RGBrgb(49, 116, 185)
HSLhsl(210, 58%, 46%)
HSVhsv(210, 74%, 73%)
CMYKcmyk(73.5%, 37.3%, 0%, 27.5%)
CIE-LABlab(47.81, 2.56, -42.46)
CIE-LCHlch(47.81, 42.53, 273.45°)
OKLaboklab(55.01% -0.0397 -0.1209)
OKLCHoklch(55.01% 0.127 251.8)
XYZxyz(16.2657, 16.6447, 48.2450)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174B9 #B97631
analogous
#31B8B9 #3174B9 #3231B9
triadic
#3174B9 #B93174 #74B931
tetradic
#3174B9 #B931B8 #B97631 #31B932
square
#3174B9 #B931B8 #B97631 #31B932
split-complementary
#3174B9 #B93231 #B8B931
monochromatic
#173758 #245689 #3174B9 #5593D2 #86B2DF

Accessibility & contrast

On white

4.85
#3174B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3174B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174B9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174B9#FFFFFF#000000##FFFFFF
##3174B91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BC
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3174b9;
/* rgb */ color: rgb(49, 116, 185);
/* oklch */ color: oklch(55.0% 0.127 251.8);
Tailwind
colors: {
  custom: {
    50: '#7b9bce',
    500: '#3174b9',
    950: '#000000',
  },
}
SCSS
$custom: #3174b9;
$custom-light: #7b9bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3174b9",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 185
  },
  "hsl": {
    "h": 210.441,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.12725,
    "h": 251.8
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3174B9

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

Preview Lab → · Contrast checker → · Palette generator →

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