#3174A2#3174A2

#3174A2 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.7% C 0.099 H 241.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3174A2
RGBrgb(49, 116, 162)
HSLhsl(204, 54%, 41%)
HSVhsv(204, 70%, 64%)
CMYKcmyk(69.8%, 28.4%, 0%, 36.5%)
CIE-LABlab(46.65, -5.77, -30.89)
CIE-LCHlch(46.65, 31.43, 259.42°)
OKLaboklab(53.71% -0.0465 -0.0872)
OKLCHoklch(53.71% 0.099 241.9)
XYZxyz(14.0311, 15.7509, 36.4762)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174A2 #A25F31
analogous
#31A298 #3174A2 #313BA2
triadic
#3174A2 #A23174 #74A231
tetradic
#3174A2 #9831A2 #A25F31 #3BA231
square
#3174A2 #9831A2 #A25F31 #3BA231
split-complementary
#3174A2 #A2313B #A29831
monochromatic
#153144 #235273 #3174A2 #4894C8 #77AFD6

Accessibility & contrast

On white

5.06
#3174A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3174A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174A2#FFFFFF#000000##FFFFFF
##3174A21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A4
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3174a2;
/* rgb */ color: rgb(49, 116, 162);
/* oklch */ color: oklch(53.7% 0.099 241.9);
Tailwind
colors: {
  custom: {
    50: '#779bbd',
    500: '#3174a2',
    950: '#000000',
  },
}
SCSS
$custom: #3174a2;
$custom-light: #779bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3174a2",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 204.425,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.09878,
    "h": 241.9
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#3174A2
secondary
#BE9071
accent
#864BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3174A2

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

Preview Lab → · Contrast checker → · Palette generator →

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