#31738D#31738D

#31738D is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.4% C 0.078 H 227.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#31738D
RGBrgb(49, 115, 141)
HSLhsl(197, 48%, 37%)
HSVhsv(197, 65%, 55%)
CMYKcmyk(65.2%, 18.4%, 0%, 44.7%)
CIE-LABlab(45.41, -12.45, -20.41)
CIE-LCHlch(45.41, 23.91, 238.61°)
OKLaboklab(52.42% -0.053 -0.057)
OKLCHoklch(52.42% 0.078 227.1)
XYZxyz(12.2032, 14.8363, 27.4147)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31738D #8D4B31
analogous
#318D79 #31738D #31458D
triadic
#31738D #8D3173 #738D31
tetradic
#31738D #79318D #8D4B31 #458D31
square
#31738D #79318D #8D4B31 #458D31
split-complementary
#31738D #8D3145 #8D7931
monochromatic
#112932 #214E60 #31738D #4198BA #6CB1CC

Accessibility & contrast

On white

5.29
#31738D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#31738D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31738D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31738D#FFFFFF#000000##FFFFFF
##31738D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65718E
Deuteranopia (green-blind)
#58678D
Tritanopia (blue-blind)
#007B7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31738d;
/* rgb */ color: rgb(49, 115, 141);
/* oklch */ color: oklch(52.4% 0.078 227.1);
Tailwind
colors: {
  custom: {
    50: '#739bae',
    500: '#31738d',
    950: '#000000',
  },
}
SCSS
$custom: #31738d;
$custom-light: #739bae;
$custom-dark: #000000;
JSON
{
  "hex": "#31738d",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 141
  },
  "hsl": {
    "h": 196.957,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.07783,
    "h": 227.1
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#31738D
secondary
#B47C66
accent
#7650D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31738D

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

Preview Lab → · Contrast checker → · Palette generator →

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