#31739A#31739A

#31739A is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.1% C 0.090 H 237.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#31739A
RGBrgb(49, 115, 154)
HSLhsl(202, 52%, 40%)
HSVhsv(202, 68%, 60%)
CMYKcmyk(68.2%, 25.3%, 0%, 39.6%)
CIE-LABlab(45.97, -8.00, -27.24)
CIE-LCHlch(45.97, 28.39, 253.64°)
OKLaboklab(53.05% -0.0481 -0.0766)
OKLCHoklch(53.05% 0.09 237.9)
XYZxyz(13.2278, 15.2461, 32.8113)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31739A #9A5831
analogous
#319A8D #31739A #313E9A
triadic
#31739A #9A3173 #739A31
tetradic
#31739A #8D319A #9A5831 #3E9A31
square
#31739A #8D319A #9A5831 #3E9A31
split-complementary
#31739A #9A313E #9A8D31
monochromatic
#132E3D #22506C #31739A #4594C4 #73AFD2

Accessibility & contrast

On white

5.19
#31739A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#31739A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31739A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31739A#FFFFFF#000000##FFFFFF
##31739A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61739C
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31739a;
/* rgb */ color: rgb(49, 115, 154);
/* oklch */ color: oklch(53.1% 0.090 237.9);
Tailwind
colors: {
  custom: {
    50: '#759bb8',
    500: '#31739a',
    950: '#000000',
  },
}
SCSS
$custom: #31739a;
$custom-light: #759bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31739a",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 154
  },
  "hsl": {
    "h": 202.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.09048,
    "h": 237.9
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#31739A
secondary
#BA896C
accent
#824DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31739A

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

Preview Lab → · Contrast checker → · Palette generator →

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