#31708E#31708E

#31708E is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.7% C 0.080 H 231.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#31708E
RGBrgb(49, 112, 142)
HSLhsl(199, 49%, 37%)
HSVhsv(199, 65%, 56%)
CMYKcmyk(65.5%, 21.1%, 0%, 44.3%)
CIE-LABlab(44.51, -10.39, -22.40)
CIE-LCHlch(44.51, 24.69, 245.11°)
OKLaboklab(51.72% -0.0492 -0.0627)
OKLCHoklch(51.72% 0.08 231.9)
XYZxyz(11.9414, 14.1931, 27.6962)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31708E #8E4F31
analogous
#318E7E #31708E #31418E
triadic
#31708E #8E3170 #708E31
tetradic
#31708E #7E318E #8E4F31 #418E31
square
#31708E #7E318E #8E4F31 #418E31
split-complementary
#31708E #8E3141 #8E7E31
monochromatic
#122833 #214C61 #31708E #4194BB #6DAECD

Accessibility & contrast

On white

5.47
#31708E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#31708E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31708E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31708E#FFFFFF#000000##FFFFFF
##31708E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616F8F
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#00787A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #31708e;
/* rgb */ color: rgb(49, 112, 142);
/* oklch */ color: oklch(51.7% 0.080 231.9);
Tailwind
colors: {
  custom: {
    50: '#7399af',
    500: '#31708e',
    950: '#000000',
  },
}
SCSS
$custom: #31708e;
$custom-light: #7399af;
$custom-dark: #000000;
JSON
{
  "hex": "#31708e",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 142
  },
  "hsl": {
    "h": 199.355,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.07972,
    "h": 231.9
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#31708E
secondary
#B48067
accent
#7C50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #31708E

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

Preview Lab → · Contrast checker → · Palette generator →

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