#31728D#31728D

#31728D is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.078 H 228.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#31728D
RGBrgb(49, 114, 141)
HSLhsl(198, 48%, 37%)
HSVhsv(198, 65%, 55%)
CMYKcmyk(65.2%, 19.1%, 0%, 44.7%)
CIE-LABlab(45.09, -11.88, -20.90)
CIE-LCHlch(45.09, 24.04, 240.38°)
OKLaboklab(52.17% -0.0519 -0.0584)
OKLCHoklch(52.17% 0.078 228.4)
XYZxyz(12.0898, 14.6094, 27.3769)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31728D #8D4C31
analogous
#318D7A #31728D #31448D
triadic
#31728D #8D3172 #728D31
tetradic
#31728D #7A318D #8D4C31 #448D31
square
#31728D #7A318D #8D4C31 #448D31
split-complementary
#31728D #8D3144 #8D7A31
monochromatic
#112932 #214D60 #31728D #4197BA #6CB0CC

Accessibility & contrast

On white

5.35
#31728D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#31728D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31728D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31728D#FFFFFF#000000##FFFFFF
##31728D1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64708E
Deuteranopia (green-blind)
#57678D
Tritanopia (blue-blind)
#007A7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31728d;
/* rgb */ color: rgb(49, 114, 141);
/* oklch */ color: oklch(52.2% 0.078 228.4);
Tailwind
colors: {
  custom: {
    50: '#739aae',
    500: '#31728d',
    950: '#000000',
  },
}
SCSS
$custom: #31728d;
$custom-light: #739aae;
$custom-dark: #000000;
JSON
{
  "hex": "#31728d",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 141
  },
  "hsl": {
    "h": 197.609,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.07811,
    "h": 228.4
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#31728D
secondary
#B47D66
accent
#7850D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31728D

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

Preview Lab → · Contrast checker → · Palette generator →

#31728D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva