#31719F#31719F

#31719F is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.098 H 243.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#31719F
RGBrgb(49, 113, 159)
HSLhsl(205, 53%, 41%)
HSVhsv(205, 69%, 62%)
CMYKcmyk(69.2%, 28.9%, 0%, 37.6%)
CIE-LABlab(45.59, -5.05, -30.79)
CIE-LCHlch(45.59, 31.20, 260.69°)
OKLaboklab(52.83% -0.0443 -0.0869)
OKLCHoklch(52.83% 0.098 243)
XYZxyz(13.4274, 14.9650, 34.9751)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31719F #9F5F31
analogous
#319F96 #31719F #313A9F
triadic
#31719F #9F3171 #719F31
tetradic
#31719F #96319F #9F5F31 #3A9F31
square
#31719F #96319F #9F5F31 #3A9F31
split-complementary
#31719F #9F313A #9F9631
monochromatic
#142F41 #235070 #31719F #4791C6 #76ADD5

Accessibility & contrast

On white

5.26
#31719F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#31719F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31719F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31719F#FFFFFF#000000##FFFFFF
##31719F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A1
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31719f;
/* rgb */ color: rgb(49, 113, 159);
/* oklch */ color: oklch(52.8% 0.098 243.0);
Tailwind
colors: {
  custom: {
    50: '#7699bb',
    500: '#31719f',
    950: '#000000',
  },
}
SCSS
$custom: #31719f;
$custom-light: #7699bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31719f",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 159
  },
  "hsl": {
    "h": 205.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.09754,
    "h": 243
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#31719F
secondary
#BD906F
accent
#884CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #31719F

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

Preview Lab → · Contrast checker → · Palette generator →

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