#3174BA#3174BA

#3174BA is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.1% C 0.129 H 252.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3174BA
RGBrgb(49, 116, 186)
HSLhsl(211, 58%, 46%)
HSVhsv(211, 74%, 73%)
CMYKcmyk(73.7%, 37.6%, 0%, 27.1%)
CIE-LABlab(47.86, 2.93, -42.95)
CIE-LCHlch(47.86, 43.05, 273.90°)
OKLaboklab(55.07% -0.0395 -0.1223)
OKLCHoklch(55.07% 0.129 252.1)
XYZxyz(16.3716, 16.6871, 48.8030)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174BA #BA7731
analogous
#31B8BA #3174BA #3231BA
triadic
#3174BA #BA3174 #74BA31
tetradic
#3174BA #BA31B8 #BA7731 #31BA32
square
#3174BA #BA31B8 #BA7731 #31BA32
split-complementary
#3174BA #BA3231 #B8BA31
monochromatic
#173859 #24568A #3174BA #5693D2 #86B2DF

Accessibility & contrast

On white

4.84
#3174BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3174BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174BA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174BA#FFFFFF#000000##FFFFFF
##3174BA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3174ba;
/* rgb */ color: rgb(49, 116, 186);
/* oklch */ color: oklch(55.1% 0.129 252.1);
Tailwind
colors: {
  custom: {
    50: '#7b9bcf',
    500: '#3174ba',
    950: '#000000',
  },
}
SCSS
$custom: #3174ba;
$custom-light: #7b9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3174ba",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 210.657,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55068,
    "c": 0.12854,
    "h": 252.1
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#3174BA
secondary
#C9A47E
accent
#9646E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3174BA

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

Preview Lab → · Contrast checker → · Palette generator →

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