#31729D#31729D

#31729D is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.094 H 240.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#31729D
RGBrgb(49, 114, 157)
HSLhsl(204, 52%, 40%)
HSVhsv(204, 69%, 62%)
CMYKcmyk(68.8%, 27.4%, 0%, 38.4%)
CIE-LABlab(45.80, -6.35, -29.28)
CIE-LCHlch(45.80, 29.96, 257.75°)
OKLaboklab(52.96% -0.046 -0.0825)
OKLCHoklch(52.96% 0.094 240.8)
XYZxyz(13.3674, 15.1205, 34.1058)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31729D #9D5C31
analogous
#319D92 #31729D #313C9D
triadic
#31729D #9D3172 #729D31
tetradic
#31729D #92319D #9D5C31 #3C9D31
square
#31729D #92319D #9D5C31 #3C9D31
split-complementary
#31729D #9D313C #9D9231
monochromatic
#142E40 #22506E #31729D #4693C5 #75AED4

Accessibility & contrast

On white

5.22
#31729D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31729D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31729D#FFFFFF#000000##FFFFFF
##31729D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E729F
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31729d;
/* rgb */ color: rgb(49, 114, 157);
/* oklch */ color: oklch(53.0% 0.094 240.8);
Tailwind
colors: {
  custom: {
    50: '#769aba',
    500: '#31729d',
    950: '#000000',
  },
}
SCSS
$custom: #31729d;
$custom-light: #769aba;
$custom-dark: #000000;
JSON
{
  "hex": "#31729d",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 157
  },
  "hsl": {
    "h": 203.889,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.09447,
    "h": 240.8
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#31729D
secondary
#BC8D6E
accent
#854CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31729D

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

Preview Lab → · Contrast checker → · Palette generator →

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