#31758D#31758D

#31758D is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.9% C 0.077 H 224.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#31758D
RGBrgb(49, 117, 141)
HSLhsl(196, 48%, 37%)
HSVhsv(196, 65%, 55%)
CMYKcmyk(65.2%, 17%, 0%, 44.7%)
CIE-LABlab(46.04, -13.59, -19.45)
CIE-LCHlch(46.04, 23.72, 235.05°)
OKLaboklab(52.93% -0.0552 -0.0542)
OKLCHoklch(52.93% 0.077 224.5)
XYZxyz(12.4337, 15.2973, 27.4916)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31758D #8D4931
analogous
#318D77 #31758D #31478D
triadic
#31758D #8D3175 #758D31
tetradic
#31758D #77318D #8D4931 #478D31
square
#31758D #77318D #8D4931 #478D31
split-complementary
#31758D #8D3147 #8D7731
monochromatic
#112A32 #214F60 #31758D #419BBA #6CB3CC

Accessibility & contrast

On white

5.17
#31758D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#31758D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31758D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31758D#FFFFFF#000000##FFFFFF
##31758D1.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)
#68728E
Deuteranopia (green-blind)
#5B698D
Tritanopia (blue-blind)
#007C7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31758d;
/* rgb */ color: rgb(49, 117, 141);
/* oklch */ color: oklch(52.9% 0.077 224.5);
Tailwind
colors: {
  custom: {
    50: '#749cae',
    500: '#31758d',
    950: '#000000',
  },
}
SCSS
$custom: #31758d;
$custom-light: #749cae;
$custom-dark: #000000;
JSON
{
  "hex": "#31758d",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 141
  },
  "hsl": {
    "h": 195.652,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.07742,
    "h": 224.5
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#31758D
secondary
#B47A66
accent
#7350D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31758D

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

Preview Lab → · Contrast checker → · Palette generator →

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