#316871#316871

#316871 is a mid, muted teal. Relative luminance 0.117; OKLCH L 48.4% C 0.060 H 209.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#316871
RGBrgb(49, 104, 113)
HSLhsl(188, 40%, 32%)
HSVhsv(188, 57%, 44%)
CMYKcmyk(56.6%, 8%, 0%, 55.7%)
CIE-LABlab(40.81, -15.32, -10.59)
CIE-LCHlch(40.81, 18.62, 214.66°)
OKLaboklab(48.38% -0.0518 -0.0293)
OKLCHoklch(48.38% 0.06 209.5)
XYZxyz(9.1964, 11.7450, 17.4020)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316871 #713A31
analogous
#31715A #316871 #314871
triadic
#316871 #713168 #687131
tetradic
#316871 #5A3171 #713A31 #487131
square
#316871 #5A3171 #713A31 #487131
split-complementary
#316871 #713148 #715A31
monochromatic
#0C191C #1E4146 #316871 #448F9C #62AEBB

Accessibility & contrast

On white

6.27
#316871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#316871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316871
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316871#FFFFFF#000000##FFFFFF
##3168711.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606472
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#006C6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316871;
/* rgb */ color: rgb(49, 104, 113);
/* oklch */ color: oklch(48.4% 0.060 209.5);
Tailwind
colors: {
  custom: {
    50: '#6f9399',
    500: '#316871',
    950: '#000000',
  },
}
SCSS
$custom: #316871;
$custom-light: #6f9399;
$custom-dark: #000000;
JSON
{
  "hex": "#316871",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 188.438,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.05955,
    "h": 209.5
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#316871
secondary
#A2665C
accent
#6958CF
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #316871

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

Preview Lab → · Contrast checker → · Palette generator →

#316871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva