#31778C#31778C

#31778C is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.4% C 0.076 H 220.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#31778C
RGBrgb(49, 119, 140)
HSLhsl(194, 48%, 37%)
HSVhsv(194, 65%, 55%)
CMYKcmyk(65%, 15%, 0%, 45.1%)
CIE-LABlab(46.63, -15.04, -17.95)
CIE-LCHlch(46.63, 23.42, 230.03°)
OKLaboklab(53.39% -0.0579 -0.05)
OKLCHoklch(53.39% 0.076 220.8)
XYZxyz(12.5952, 15.7388, 27.1800)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31778C #8C4631
analogous
#318C74 #31778C #314A8C
triadic
#31778C #8C3177 #778C31
tetradic
#31778C #74318C #8C4631 #4A8C31
square
#31778C #74318C #8C4631 #4A8C31
split-complementary
#31778C #8C314A #8C7431
monochromatic
#112A31 #21505F #31778C #419EB9 #6CB5CC

Accessibility & contrast

On white

5.06
#31778C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#31778C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31778C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31778C#FFFFFF#000000##FFFFFF
##31778C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A748D
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #31778c;
/* rgb */ color: rgb(49, 119, 140);
/* oklch */ color: oklch(53.4% 0.076 220.8);
Tailwind
colors: {
  custom: {
    50: '#749ead',
    500: '#31778c',
    950: '#000000',
  },
}
SCSS
$custom: #31778c;
$custom-light: #749ead;
$custom-dark: #000000;
JSON
{
  "hex": "#31778c",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 193.846,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.07649,
    "h": 220.8
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#31778C
secondary
#B37866
accent
#6F50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31778C

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

Preview Lab → · Contrast checker → · Palette generator →

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