#31719B#31719B

#31719B is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.6% C 0.093 H 240.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#31719B
RGBrgb(49, 113, 155)
HSLhsl(204, 52%, 40%)
HSVhsv(204, 68%, 61%)
CMYKcmyk(68.4%, 27.1%, 0%, 39.2%)
CIE-LABlab(45.40, -6.47, -28.72)
CIE-LCHlch(45.40, 29.44, 257.31°)
OKLaboklab(52.62% -0.0456 -0.0809)
OKLCHoklch(52.62% 0.093 240.6)
XYZxyz(13.0859, 14.8284, 33.1765)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31719B #9B5B31
analogous
#319B90 #31719B #313C9B
triadic
#31719B #9B3171 #719B31
tetradic
#31719B #90319B #9B5B31 #3C9B31
square
#31719B #90319B #9B5B31 #3C9B31
split-complementary
#31719B #9B313C #9B9031
monochromatic
#142D3E #224F6D #31719B #4592C4 #73ADD3

Accessibility & contrast

On white

5.30
#31719B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31719B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31719B#FFFFFF#000000##FFFFFF
##31719B1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E719D
Deuteranopia (green-blind)
#4F679A
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31719b;
/* rgb */ color: rgb(49, 113, 155);
/* oklch */ color: oklch(52.6% 0.093 240.6);
Tailwind
colors: {
  custom: {
    50: '#7599b8',
    500: '#31719b',
    950: '#000000',
  },
}
SCSS
$custom: #31719b;
$custom-light: #7599b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31719b",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 155
  },
  "hsl": {
    "h": 203.774,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.09289,
    "h": 240.6
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#31719B
secondary
#BB8C6D
accent
#854CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31719B

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

Preview Lab → · Contrast checker → · Palette generator →

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