#31677C#31677C

#31677C is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.066 H 226.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#31677C
RGBrgb(49, 103, 124)
HSLhsl(197, 43%, 34%)
HSVhsv(197, 60%, 49%)
CMYKcmyk(60.5%, 16.9%, 0%, 51.4%)
CIE-LABlab(40.91, -11.21, -17.12)
CIE-LCHlch(40.91, 20.46, 236.79°)
OKLaboklab(48.6% -0.0459 -0.0477)
OKLCHoklch(48.6% 0.066 226.1)
XYZxyz(9.7536, 11.8078, 20.8300)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31677C #7C4631
analogous
#317C6C #31677C #31427C
triadic
#31677C #7C3167 #677C31
tetradic
#31677C #6C317C #7C4631 #427C31
square
#31677C #6C317C #7C4631 #427C31
split-complementary
#31677C #7C3142 #7C6C31
monochromatic
#0E1E24 #204350 #31677C #428BA8 #65A8C2

Accessibility & contrast

On white

6.25
#31677C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#31677C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31677C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31677C#FFFFFF#000000##FFFFFF
##31677C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C657D
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#006D6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #31677c;
/* rgb */ color: rgb(49, 103, 124);
/* oklch */ color: oklch(48.6% 0.066 226.1);
Tailwind
colors: {
  custom: {
    50: '#7092a2',
    500: '#31677c',
    950: '#000000',
  },
}
SCSS
$custom: #31677c;
$custom-light: #7092a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31677c",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 124
  },
  "hsl": {
    "h": 196.8,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.06618,
    "h": 226.1
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#31677C
secondary
#AA745F
accent
#7855D3
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080D0F
muted
#7B7D7E

Preview Lab

Preview with #31677C

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

Preview Lab → · Contrast checker → · Palette generator →

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