#31718E#31718E

#31718E is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.079 H 230.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#31718E
RGBrgb(49, 113, 142)
HSLhsl(199, 49%, 37%)
HSVhsv(199, 65%, 56%)
CMYKcmyk(65.5%, 20.4%, 0%, 44.3%)
CIE-LABlab(44.82, -10.97, -21.91)
CIE-LCHlch(44.82, 24.50, 243.41°)
OKLaboklab(51.97% -0.0504 -0.0613)
OKLCHoklch(51.97% 0.079 230.6)
XYZxyz(12.0523, 14.4150, 27.7331)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31718E #8E4E31
analogous
#318E7D #31718E #31428E
triadic
#31718E #8E3171 #718E31
tetradic
#31718E #7D318E #8E4E31 #428E31
square
#31718E #7D318E #8E4E31 #428E31
split-complementary
#31718E #8E3142 #8E7D31
monochromatic
#122933 #214D61 #31718E #4195BB #6DAFCD

Accessibility & contrast

On white

5.41
#31718E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#31718E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31718E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31718E#FFFFFF#000000##FFFFFF
##31718E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#00797B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #31718e;
/* rgb */ color: rgb(49, 113, 142);
/* oklch */ color: oklch(52.0% 0.079 230.6);
Tailwind
colors: {
  custom: {
    50: '#7399af',
    500: '#31718e',
    950: '#000000',
  },
}
SCSS
$custom: #31718e;
$custom-light: #7399af;
$custom-dark: #000000;
JSON
{
  "hex": "#31718e",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 142
  },
  "hsl": {
    "h": 198.71,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.07933,
    "h": 230.6
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#31718E
secondary
#B47F67
accent
#7A50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31718E

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

Preview Lab → · Contrast checker → · Palette generator →

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