#31779C#31779C

#31779C is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.1% C 0.090 H 235.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#31779C
RGBrgb(49, 119, 156)
HSLhsl(201, 52%, 40%)
HSVhsv(201, 69%, 61%)
CMYKcmyk(68.6%, 23.7%, 0%, 38.8%)
CIE-LABlab(47.29, -9.64, -26.36)
CIE-LCHlch(47.29, 28.07, 249.92°)
OKLaboklab(54.14% -0.0517 -0.074)
OKLCHoklch(54.14% 0.09 235.1)
XYZxyz(13.8619, 16.2454, 33.8512)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31779C #9C5631
analogous
#319C8C #31779C #31419C
triadic
#31779C #9C3177 #779C31
tetradic
#31779C #8C319C #9C5631 #419C31
square
#31779C #8C319C #9C5631 #419C31
split-complementary
#31779C #9C3141 #9C8C31
monochromatic
#14303F #22536D #31779C #4599C5 #74B2D3

Accessibility & contrast

On white

4.94
#31779C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#31779C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31779C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31779C#FFFFFF#000000##FFFFFF
##31779C1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65769E
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #31779c;
/* rgb */ color: rgb(49, 119, 156);
/* oklch */ color: oklch(54.1% 0.090 235.1);
Tailwind
colors: {
  custom: {
    50: '#769eb9',
    500: '#31779c',
    950: '#000000',
  },
}
SCSS
$custom: #31779c;
$custom-light: #769eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31779c",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 156
  },
  "hsl": {
    "h": 200.748,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.0903,
    "h": 235.1
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#31779C
secondary
#BB886D
accent
#7E4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31779C

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

Preview Lab → · Contrast checker → · Palette generator →

#31779C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva