#31729F#31729F

#31729F is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.1% C 0.097 H 242.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#31729F
RGBrgb(49, 114, 159)
HSLhsl(205, 53%, 41%)
HSVhsv(205, 69%, 62%)
CMYKcmyk(69.2%, 28.3%, 0%, 37.6%)
CIE-LABlab(45.89, -5.65, -30.31)
CIE-LCHlch(45.89, 30.83, 259.45°)
OKLaboklab(53.07% -0.0454 -0.0855)
OKLCHoklch(53.07% 0.097 242.1)
XYZxyz(13.5395, 15.1894, 35.0124)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31729F #9F5E31
analogous
#319F95 #31729F #313B9F
triadic
#31729F #9F3172 #729F31
tetradic
#31729F #95319F #9F5E31 #3B9F31
square
#31729F #95319F #9F5E31 #3B9F31
split-complementary
#31729F #9F313B #9F9531
monochromatic
#142F41 #235070 #31729F #4792C6 #76AED5

Accessibility & contrast

On white

5.20
#31729F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#31729F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31729F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31729F#FFFFFF#000000##FFFFFF
##31729F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E73A1
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31729f;
/* rgb */ color: rgb(49, 114, 159);
/* oklch */ color: oklch(53.1% 0.097 242.1);
Tailwind
colors: {
  custom: {
    50: '#769abb',
    500: '#31729f',
    950: '#000000',
  },
}
SCSS
$custom: #31729f;
$custom-light: #769abb;
$custom-dark: #000000;
JSON
{
  "hex": "#31729f",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 159
  },
  "hsl": {
    "h": 204.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.09678,
    "h": 242.1
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#31729F
secondary
#BD8F6F
accent
#874CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #31729F

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

Preview Lab → · Contrast checker → · Palette generator →

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