#31729A#31729A

#31729A is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.091 H 238.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#31729A
RGBrgb(49, 114, 154)
HSLhsl(203, 52%, 40%)
HSVhsv(203, 68%, 60%)
CMYKcmyk(68.2%, 26%, 0%, 39.6%)
CIE-LABlab(45.66, -7.41, -27.72)
CIE-LCHlch(45.66, 28.70, 255.04°)
OKLaboklab(52.81% -0.0471 -0.078)
OKLCHoklch(52.81% 0.091 238.9)
XYZxyz(13.1144, 15.0193, 32.7734)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31729A #9A5931
analogous
#319A8D #31729A #313E9A
triadic
#31729A #9A3172 #729A31
tetradic
#31729A #8D319A #9A5931 #3E9A31
square
#31729A #8D319A #9A5931 #3E9A31
split-complementary
#31729A #9A313E #9A8D31
monochromatic
#132D3D #22506C #31729A #4593C4 #73AED2

Accessibility & contrast

On white

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

On black

4.00
#31729A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##31729A#FFFFFF#000000##FFFFFF
##31729A1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F729C
Deuteranopia (green-blind)
#516899
Tritanopia (blue-blind)
#007C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31729a;
/* rgb */ color: rgb(49, 114, 154);
/* oklch */ color: oklch(52.8% 0.091 238.9);
Tailwind
colors: {
  custom: {
    50: '#759ab8',
    500: '#31729a',
    950: '#000000',
  },
}
SCSS
$custom: #31729a;
$custom-light: #759ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#31729a",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 154
  },
  "hsl": {
    "h": 202.857,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.09111,
    "h": 238.9
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#31729A
secondary
#BA8A6C
accent
#834DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31729A

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

Preview Lab → · Contrast checker → · Palette generator →

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