#31709C#31709C

#31709C is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.095 H 242.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#31709C
RGBrgb(49, 112, 156)
HSLhsl(205, 52%, 40%)
HSVhsv(205, 69%, 61%)
CMYKcmyk(68.6%, 28.2%, 0%, 38.8%)
CIE-LABlab(45.14, -5.52, -29.72)
CIE-LCHlch(45.14, 30.23, 259.48°)
OKLaboklab(52.43% -0.0442 -0.0838)
OKLCHoklch(52.43% 0.095 242.2)
XYZxyz(13.0593, 14.6402, 33.5836)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31709C #9C5D31
analogous
#319C92 #31709C #313A9C
triadic
#31709C #9C3170 #709C31
tetradic
#31709C #92319C #9C5D31 #3A9C31
square
#31709C #92319C #9C5D31 #3A9C31
split-complementary
#31709C #9C313A #9C9231
monochromatic
#142D3F #224F6D #31709C #4590C5 #74ACD3

Accessibility & contrast

On white

5.35
#31709C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#31709C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31709C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31709C#FFFFFF#000000##FFFFFF
##31709C1.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)
#5C719E
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31709c;
/* rgb */ color: rgb(49, 112, 156);
/* oklch */ color: oklch(52.4% 0.095 242.2);
Tailwind
colors: {
  custom: {
    50: '#7698b9',
    500: '#31709c',
    950: '#000000',
  },
}
SCSS
$custom: #31709c;
$custom-light: #7698b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31709c",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 156
  },
  "hsl": {
    "h": 204.673,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.09476,
    "h": 242.2
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#31709C
secondary
#BB8D6D
accent
#874CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #31709C

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

Preview Lab → · Contrast checker → · Palette generator →

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