#31729B#31729B

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

Color values

HEX#31729B
RGBrgb(49, 114, 155)
HSLhsl(203, 52%, 40%)
HSVhsv(203, 68%, 61%)
CMYKcmyk(68.4%, 26.5%, 0%, 39.2%)
CIE-LABlab(45.71, -7.06, -28.24)
CIE-LCHlch(45.71, 29.11, 255.97°)
OKLaboklab(52.86% -0.0467 -0.0795)
OKLCHoklch(52.86% 0.092 239.6)
XYZxyz(13.1981, 15.0528, 33.2139)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31729B #9B5A31
analogous
#319B8F #31729B #313D9B
triadic
#31729B #9B3172 #729B31
tetradic
#31729B #8F319B #9B5A31 #3D9B31
square
#31729B #8F319B #9B5A31 #3D9B31
split-complementary
#31729B #9B313D #9B8F31
monochromatic
#142E3E #22506D #31729B #4593C4 #73AED3

Accessibility & contrast

On white

5.24
#31729B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#31729B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31729B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31729B#FFFFFF#000000##FFFFFF
##31729B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F729D
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#007C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31729b;
/* rgb */ color: rgb(49, 114, 155);
/* oklch */ color: oklch(52.9% 0.092 239.6);
Tailwind
colors: {
  custom: {
    50: '#759ab8',
    500: '#31729b',
    950: '#000000',
  },
}
SCSS
$custom: #31729b;
$custom-light: #759ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#31729b",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 155
  },
  "hsl": {
    "h": 203.208,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.09222,
    "h": 239.6
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#31729B
secondary
#BB8B6D
accent
#844CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31729B

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

Preview Lab → · Contrast checker → · Palette generator →

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