#31739D#31739D

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

Color values

HEX#31739D
RGBrgb(49, 115, 157)
HSLhsl(203, 52%, 40%)
HSVhsv(203, 69%, 62%)
CMYKcmyk(68.8%, 26.8%, 0%, 38.4%)
CIE-LABlab(46.11, -6.95, -28.80)
CIE-LCHlch(46.11, 29.62, 256.44°)
OKLaboklab(53.21% -0.0471 -0.0811)
OKLCHoklch(53.21% 0.094 239.9)
XYZxyz(13.4808, 15.3473, 34.1436)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31739D #9D5B31
analogous
#319D91 #31739D #313D9D
triadic
#31739D #9D3173 #739D31
tetradic
#31739D #91319D #9D5B31 #3D9D31
square
#31739D #91319D #9D5B31 #3D9D31
split-complementary
#31739D #9D313D #9D9131
monochromatic
#142F40 #22516E #31739D #4694C5 #75AFD4

Accessibility & contrast

On white

5.16
#31739D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#31739D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31739D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31739D#FFFFFF#000000##FFFFFF
##31739D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60739F
Deuteranopia (green-blind)
#51699C
Tritanopia (blue-blind)
#007E81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31739d;
/* rgb */ color: rgb(49, 115, 157);
/* oklch */ color: oklch(53.2% 0.094 239.9);
Tailwind
colors: {
  custom: {
    50: '#769bba',
    500: '#31739d',
    950: '#000000',
  },
}
SCSS
$custom: #31739d;
$custom-light: #769bba;
$custom-dark: #000000;
JSON
{
  "hex": "#31739d",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 157
  },
  "hsl": {
    "h": 203.333,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.09378,
    "h": 239.9
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#31739D
secondary
#BC8C6E
accent
#844CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31739D

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

Preview Lab → · Contrast checker → · Palette generator →

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