#31728C#31728C

#31728C is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.1% C 0.077 H 227.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#31728C
RGBrgb(49, 114, 140)
HSLhsl(197, 48%, 37%)
HSVhsv(197, 65%, 55%)
CMYKcmyk(65%, 18.6%, 0%, 45.1%)
CIE-LABlab(45.05, -12.22, -20.37)
CIE-LCHlch(45.05, 23.75, 239.04°)
OKLaboklab(52.13% -0.0523 -0.0569)
OKLCHoklch(52.13% 0.077 227.4)
XYZxyz(12.0157, 14.5798, 26.9868)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31728C #8C4B31
analogous
#318C79 #31728C #31458C
triadic
#31728C #8C3172 #728C31
tetradic
#31728C #79318C #8C4B31 #458C31
square
#31728C #79318C #8C4B31 #458C31
split-complementary
#31728C #8C3145 #8C7931
monochromatic
#112831 #214D5F #31728C #4197B9 #6CB0CC

Accessibility & contrast

On white

5.36
#31728C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31728C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31728C#FFFFFF#000000##FFFFFF
##31728C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64708D
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#007A7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31728c;
/* rgb */ color: rgb(49, 114, 140);
/* oklch */ color: oklch(52.1% 0.077 227.4);
Tailwind
colors: {
  custom: {
    50: '#739aad',
    500: '#31728c',
    950: '#000000',
  },
}
SCSS
$custom: #31728c;
$custom-light: #739aad;
$custom-dark: #000000;
JSON
{
  "hex": "#31728c",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 140
  },
  "hsl": {
    "h": 197.143,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.07724,
    "h": 227.4
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#31728C
secondary
#B37C66
accent
#7750D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31728C

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

Preview Lab → · Contrast checker → · Palette generator →

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