#31739B#31739B

#31739B is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.1% C 0.092 H 238.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#31739B
RGBrgb(49, 115, 155)
HSLhsl(203, 52%, 40%)
HSVhsv(203, 68%, 61%)
CMYKcmyk(68.4%, 25.8%, 0%, 39.2%)
CIE-LABlab(46.01, -7.65, -27.76)
CIE-LCHlch(46.01, 28.80, 254.60°)
OKLaboklab(53.11% -0.0478 -0.0781)
OKLCHoklch(53.11% 0.092 238.5)
XYZxyz(13.3115, 15.2796, 33.2517)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31739B #9B5931
analogous
#319B8E #31739B #313E9B
triadic
#31739B #9B3173 #739B31
tetradic
#31739B #8E319B #9B5931 #3E9B31
square
#31739B #8E319B #9B5931 #3E9B31
split-complementary
#31739B #9B313E #9B8E31
monochromatic
#142E3E #22506D #31739B #4594C4 #73AFD3

Accessibility & contrast

On white

5.18
#31739B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#31739B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31739B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31739B#FFFFFF#000000##FFFFFF
##31739B1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60739D
Deuteranopia (green-blind)
#52689A
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31739b;
/* rgb */ color: rgb(49, 115, 155);
/* oklch */ color: oklch(53.1% 0.092 238.5);
Tailwind
colors: {
  custom: {
    50: '#759bb8',
    500: '#31739b',
    950: '#000000',
  },
}
SCSS
$custom: #31739b;
$custom-light: #759bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31739b",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 155
  },
  "hsl": {
    "h": 202.642,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.09157,
    "h": 238.5
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#31739B
secondary
#BB8A6D
accent
#824CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31739B

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

Preview Lab → · Contrast checker → · Palette generator →

#31739B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva