#31719A#31719A

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

Color values

HEX#31719A
RGBrgb(49, 113, 154)
HSLhsl(203, 52%, 40%)
HSVhsv(203, 68%, 60%)
CMYKcmyk(68.2%, 26.6%, 0%, 39.6%)
CIE-LABlab(45.35, -6.82, -28.20)
CIE-LCHlch(45.35, 29.02, 256.41°)
OKLaboklab(52.56% -0.046 -0.0794)
OKLCHoklch(52.56% 0.092 239.9)
XYZxyz(13.0022, 14.7949, 32.7361)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31719A #9A5A31
analogous
#319A8F #31719A #313C9A
triadic
#31719A #9A3171 #719A31
tetradic
#31719A #8F319A #9A5A31 #3C9A31
square
#31719A #8F319A #9A5A31 #3C9A31
split-complementary
#31719A #9A313C #9A8F31
monochromatic
#132D3D #224F6C #31719A #4592C4 #73ADD2

Accessibility & contrast

On white

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

On black

3.96
#31719A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##31719A#FFFFFF#000000##FFFFFF
##31719A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E719C
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31719a;
/* rgb */ color: rgb(49, 113, 154);
/* oklch */ color: oklch(52.6% 0.092 239.9);
Tailwind
colors: {
  custom: {
    50: '#7599b8',
    500: '#31719a',
    950: '#000000',
  },
}
SCSS
$custom: #31719a;
$custom-light: #7599b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31719a",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 154
  },
  "hsl": {
    "h": 203.429,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.09177,
    "h": 239.9
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#31719A
secondary
#BA8B6C
accent
#844DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31719A

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

Preview Lab → · Contrast checker → · Palette generator →

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