#31779B#31779B

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

Color values

HEX#31779B
RGBrgb(49, 119, 155)
HSLhsl(200, 52%, 40%)
HSVhsv(200, 68%, 61%)
CMYKcmyk(68.4%, 23.2%, 0%, 39.2%)
CIE-LABlab(47.25, -9.98, -25.84)
CIE-LCHlch(47.25, 27.70, 248.88°)
OKLaboklab(54.09% -0.0521 -0.0725)
OKLCHoklch(54.09% 0.089 234.3)
XYZxyz(13.7775, 16.2117, 33.4071)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31779B #9B5531
analogous
#319B8A #31779B #31429B
triadic
#31779B #9B3177 #779B31
tetradic
#31779B #8A319B #9B5531 #429B31
square
#31779B #8A319B #9B5531 #429B31
split-complementary
#31779B #9B3142 #9B8A31
monochromatic
#14303E #22536D #31779B #4599C4 #73B3D3

Accessibility & contrast

On white

4.95
#31779B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#31779B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31779B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31779B#FFFFFF#000000##FFFFFF
##31779B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769D
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#008083
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #31779b;
/* rgb */ color: rgb(49, 119, 155);
/* oklch */ color: oklch(54.1% 0.089 234.3);
Tailwind
colors: {
  custom: {
    50: '#769eb8',
    500: '#31779b',
    950: '#000000',
  },
}
SCSS
$custom: #31779b;
$custom-light: #769eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31779b",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 155
  },
  "hsl": {
    "h": 200.377,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.0893,
    "h": 234.3
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#31779B
secondary
#BB876D
accent
#7D4CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31779B

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

Preview Lab → · Contrast checker → · Palette generator →

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