#31707D#31707D

#31707D is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.0% C 0.067 H 213.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#31707D
RGBrgb(49, 112, 125)
HSLhsl(190, 44%, 34%)
HSVhsv(190, 61%, 49%)
CMYKcmyk(60.8%, 10.4%, 0%, 51%)
CIE-LABlab(43.83, -16.00, -13.27)
CIE-LCHlch(43.83, 20.79, 219.67°)
OKLaboklab(50.95% -0.0562 -0.0368)
OKLCHoklch(50.95% 0.067 213.2)
XYZxyz(10.7610, 13.7209, 21.4794)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31707D #7D3E31
analogous
#317D64 #31707D #314A7D
triadic
#31707D #7D3170 #707D31
tetradic
#31707D #64317D #7D3E31 #4A7D31
square
#31707D #64317D #7D3E31 #4A7D31
split-complementary
#31707D #7D314A #7D6431
monochromatic
#0F2125 #204951 #31707D #4297A9 #66B3C3

Accessibility & contrast

On white

5.61
#31707D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#31707D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31707D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31707D#FFFFFF#000000##FFFFFF
##31707D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#5B647D
Tritanopia (blue-blind)
#007574
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #31707d;
/* rgb */ color: rgb(49, 112, 125);
/* oklch */ color: oklch(51.0% 0.067 213.2);
Tailwind
colors: {
  custom: {
    50: '#7199a2',
    500: '#31707d',
    950: '#000000',
  },
}
SCSS
$custom: #31707d;
$custom-light: #7199a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31707d",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 125
  },
  "hsl": {
    "h": 190.263,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.06716,
    "h": 213.2
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#31707D
secondary
#AA6C60
accent
#6A54D3
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #31707D

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

Preview Lab → · Contrast checker → · Palette generator →

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