#31779A#31779A

#31779A is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.088 H 233.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#31779A
RGBrgb(49, 119, 154)
HSLhsl(200, 52%, 40%)
HSVhsv(200, 68%, 60%)
CMYKcmyk(68.2%, 22.7%, 0%, 39.6%)
CIE-LABlab(47.21, -10.33, -25.32)
CIE-LCHlch(47.21, 27.34, 247.81°)
OKLaboklab(54.04% -0.0524 -0.071)
OKLCHoklch(54.04% 0.088 233.6)
XYZxyz(13.6939, 16.1782, 32.9666)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31779A #9A5431
analogous
#319A89 #31779A #31439A
triadic
#31779A #9A3177 #779A31
tetradic
#31779A #89319A #9A5431 #439A31
square
#31779A #89319A #9A5431 #439A31
split-complementary
#31779A #9A3143 #9A8931
monochromatic
#132F3D #22536C #31779A #4599C4 #73B3D2

Accessibility & contrast

On white

4.96
#31779A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31779A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31779A#FFFFFF#000000##FFFFFF
##31779A1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31779a;
/* rgb */ color: rgb(49, 119, 154);
/* oklch */ color: oklch(54.0% 0.088 233.6);
Tailwind
colors: {
  custom: {
    50: '#769eb8',
    500: '#31779a',
    950: '#000000',
  },
}
SCSS
$custom: #31779a;
$custom-light: #769eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31779a",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 154
  },
  "hsl": {
    "h": 200,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.0883,
    "h": 233.6
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#31779A
secondary
#BA866C
accent
#7C4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31779A

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

Preview Lab → · Contrast checker → · Palette generator →

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