#31729C#31729C

#31729C is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.9% C 0.093 H 240.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#31729C
RGBrgb(49, 114, 156)
HSLhsl(204, 52%, 40%)
HSVhsv(204, 69%, 61%)
CMYKcmyk(68.6%, 26.9%, 0%, 38.8%)
CIE-LABlab(45.75, -6.71, -28.76)
CIE-LCHlch(45.75, 29.53, 256.87°)
OKLaboklab(52.91% -0.0464 -0.081)
OKLCHoklch(52.91% 0.093 240.2)
XYZxyz(13.2824, 15.0865, 33.6580)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31729C #9C5B31
analogous
#319C90 #31729C #313D9C
triadic
#31729C #9C3172 #729C31
tetradic
#31729C #90319C #9C5B31 #3D9C31
square
#31729C #90319C #9C5B31 #3D9C31
split-complementary
#31729C #9C313D #9C9031
monochromatic
#142E3F #22506D #31729C #4593C5 #74AED3

Accessibility & contrast

On white

5.23
#31729C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#31729C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31729C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31729C#FFFFFF#000000##FFFFFF
##31729C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F729E
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#007C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31729c;
/* rgb */ color: rgb(49, 114, 156);
/* oklch */ color: oklch(52.9% 0.093 240.2);
Tailwind
colors: {
  custom: {
    50: '#769ab9',
    500: '#31729c',
    950: '#000000',
  },
}
SCSS
$custom: #31729c;
$custom-light: #769ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#31729c",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 156
  },
  "hsl": {
    "h": 203.551,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.09334,
    "h": 240.2
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#31729C
secondary
#BB8C6D
accent
#844CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31729C

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

Preview Lab → · Contrast checker → · Palette generator →

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