#31779F#31779F

#31779F is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.093 H 237.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#31779F
RGBrgb(49, 119, 159)
HSLhsl(202, 53%, 41%)
HSVhsv(202, 69%, 62%)
CMYKcmyk(69.2%, 25.2%, 0%, 37.6%)
CIE-LABlab(47.43, -8.59, -27.91)
CIE-LCHlch(47.43, 29.21, 252.89°)
OKLaboklab(54.29% -0.0506 -0.0785)
OKLCHoklch(54.29% 0.093 237.2)
XYZxyz(14.1190, 16.3483, 35.2056)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31779F #9F5931
analogous
#319F90 #31779F #31409F
triadic
#31779F #9F3177 #779F31
tetradic
#31779F #90319F #9F5931 #409F31
square
#31779F #90319F #9F5931 #409F31
split-complementary
#31779F #9F3140 #9F9031
monochromatic
#143141 #235470 #31779F #4798C6 #76B2D5

Accessibility & contrast

On white

4.92
#31779F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#31779F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31779F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31779F#FFFFFF#000000##FFFFFF
##31779F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #31779f;
/* rgb */ color: rgb(49, 119, 159);
/* oklch */ color: oklch(54.3% 0.093 237.2);
Tailwind
colors: {
  custom: {
    50: '#769ebb',
    500: '#31779f',
    950: '#000000',
  },
}
SCSS
$custom: #31779f;
$custom-light: #769ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#31779f",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 159
  },
  "hsl": {
    "h": 201.818,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.09342,
    "h": 237.2
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#31779F
secondary
#BD8B6F
accent
#804CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #31779F

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

Preview Lab → · Contrast checker → · Palette generator →

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