#31728E#31728E

#31728E is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.079 H 229.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#31728E
RGBrgb(49, 114, 142)
HSLhsl(198, 49%, 37%)
HSVhsv(198, 65%, 56%)
CMYKcmyk(65.5%, 19.7%, 0%, 44.3%)
CIE-LABlab(45.14, -11.54, -21.43)
CIE-LCHlch(45.14, 24.34, 241.69°)
OKLaboklab(52.22% -0.0515 -0.0599)
OKLCHoklch(52.22% 0.079 229.3)
XYZxyz(12.1645, 14.6393, 27.7705)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31728E #8E4D31
analogous
#318E7C #31728E #31438E
triadic
#31728E #8E3172 #728E31
tetradic
#31728E #7C318E #8E4D31 #438E31
square
#31728E #7C318E #8E4D31 #438E31
split-complementary
#31728E #8E3143 #8E7C31
monochromatic
#122933 #214D61 #31728E #4197BB #6DB0CD

Accessibility & contrast

On white

5.35
#31728E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#31728E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31728E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31728E#FFFFFF#000000##FFFFFF
##31728E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64708F
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#007A7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31728e;
/* rgb */ color: rgb(49, 114, 142);
/* oklch */ color: oklch(52.2% 0.079 229.3);
Tailwind
colors: {
  custom: {
    50: '#749aaf',
    500: '#31728e',
    950: '#000000',
  },
}
SCSS
$custom: #31728e;
$custom-light: #749aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31728e",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 142
  },
  "hsl": {
    "h": 198.065,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.52219,
    "c": 0.07899,
    "h": 229.3
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#31728E
secondary
#B47E67
accent
#7950D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31728E

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

Preview Lab → · Contrast checker → · Palette generator →

#31728E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva