#31719E#31719E

#31719E is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.096 H 242.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#31719E
RGBrgb(49, 113, 158)
HSLhsl(205, 53%, 41%)
HSVhsv(205, 69%, 62%)
CMYKcmyk(69%, 28.5%, 0%, 38%)
CIE-LABlab(45.54, -5.41, -30.27)
CIE-LCHlch(45.54, 30.75, 259.88°)
OKLaboklab(52.77% -0.0446 -0.0854)
OKLCHoklch(52.77% 0.096 242.4)
XYZxyz(13.3409, 14.9304, 34.5199)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31719E #9E5E31
analogous
#319E94 #31719E #313A9E
triadic
#31719E #9E3171 #719E31
tetradic
#31719E #94319E #9E5E31 #3A9E31
square
#31719E #94319E #9E5E31 #3A9E31
split-complementary
#31719E #9E313A #9E9431
monochromatic
#142E41 #23506F #31719E #4691C6 #75ADD4

Accessibility & contrast

On white

5.27
#31719E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31719E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31719E#FFFFFF#000000##FFFFFF
##31719E1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31719e;
/* rgb */ color: rgb(49, 113, 158);
/* oklch */ color: oklch(52.8% 0.096 242.4);
Tailwind
colors: {
  custom: {
    50: '#7699bb',
    500: '#31719e',
    950: '#000000',
  },
}
SCSS
$custom: #31719e;
$custom-light: #7699bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31719e",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 158
  },
  "hsl": {
    "h": 204.771,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.09636,
    "h": 242.4
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#31719E
secondary
#BC8F6E
accent
#874CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #31719E

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

Preview Lab → · Contrast checker → · Palette generator →

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