#31719C#31719C

#31719C is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.094 H 241.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#31719C
RGBrgb(49, 113, 156)
HSLhsl(204, 52%, 40%)
HSVhsv(204, 69%, 61%)
CMYKcmyk(68.6%, 27.6%, 0%, 38.8%)
CIE-LABlab(45.44, -6.11, -29.24)
CIE-LCHlch(45.44, 29.87, 258.19°)
OKLaboklab(52.67% -0.0453 -0.0824)
OKLCHoklch(52.67% 0.094 241.2)
XYZxyz(13.1702, 14.8621, 33.6206)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31719C #9C5C31
analogous
#319C91 #31719C #313C9C
triadic
#31719C #9C3171 #719C31
tetradic
#31719C #91319C #9C5C31 #3C9C31
square
#31719C #91319C #9C5C31 #3C9C31
split-complementary
#31719C #9C313C #9C9131
monochromatic
#142E3F #224F6D #31719C #4592C5 #74ADD3

Accessibility & contrast

On white

5.29
#31719C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#31719C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31719C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31719C#FFFFFF#000000##FFFFFF
##31719C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D719E
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#007C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31719c;
/* rgb */ color: rgb(49, 113, 156);
/* oklch */ color: oklch(52.7% 0.094 241.2);
Tailwind
colors: {
  custom: {
    50: '#7699b9',
    500: '#31719c',
    950: '#000000',
  },
}
SCSS
$custom: #31719c;
$custom-light: #7699b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31719c",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 156
  },
  "hsl": {
    "h": 204.112,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.09403,
    "h": 241.2
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#31719C
secondary
#BB8D6D
accent
#864CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31719C

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

Preview Lab → · Contrast checker → · Palette generator →

#31719C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva