#31739C#31739C

#31739C is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.2% C 0.093 H 239.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#31739C
RGBrgb(49, 115, 156)
HSLhsl(203, 52%, 40%)
HSVhsv(203, 69%, 61%)
CMYKcmyk(68.6%, 26.3%, 0%, 38.8%)
CIE-LABlab(46.06, -7.30, -28.28)
CIE-LCHlch(46.06, 29.21, 255.53°)
OKLaboklab(53.16% -0.0474 -0.0796)
OKLCHoklch(53.16% 0.093 239.2)
XYZxyz(13.3958, 15.3133, 33.6958)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31739C #9C5A31
analogous
#319C90 #31739C #313D9C
triadic
#31739C #9C3173 #739C31
tetradic
#31739C #90319C #9C5A31 #3D9C31
square
#31739C #90319C #9C5A31 #3D9C31
split-complementary
#31739C #9C313D #9C9031
monochromatic
#142E3F #22516D #31739C #4594C5 #74AFD3

Accessibility & contrast

On white

5.17
#31739C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#31739C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31739C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31739C#FFFFFF#000000##FFFFFF
##31739C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60739E
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31739c;
/* rgb */ color: rgb(49, 115, 156);
/* oklch */ color: oklch(53.2% 0.093 239.2);
Tailwind
colors: {
  custom: {
    50: '#769bb9',
    500: '#31739c',
    950: '#000000',
  },
}
SCSS
$custom: #31739c;
$custom-light: #769bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31739c",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 156
  },
  "hsl": {
    "h": 202.991,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.09267,
    "h": 239.2
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#31739C
secondary
#BB8B6D
accent
#834CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31739C

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

Preview Lab → · Contrast checker → · Palette generator →

#31739C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva