#318878#318878

#318878 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.0% C 0.086 H 178.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#318878
RGBrgb(49, 136, 120)
HSLhsl(169, 47%, 36%)
HSVhsv(169, 64%, 53%)
CMYKcmyk(64%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.40, -29.90, 0.94)
CIE-LCHlch(51.40, 29.92, 178.19°)
OKLaboklab(57.02% -0.0863 0.002)
OKLCHoklch(57.02% 0.086 178.7)
XYZxyz(13.4594, 19.6159, 20.8426)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318878 #883141
analogous
#31884D #318878 #316D88
triadic
#318878 #783188 #887831
tetradic
#318878 #4D3188 #883141 #6D8831
square
#318878 #4D3188 #883141 #6D8831
split-complementary
#318878 #88316D #884D31
monochromatic
#112E29 #215B50 #318878 #41B5A0 #6AC9B8

Accessibility & contrast

On white

4.27
#318878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#318878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318878
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318878#FFFFFF#000000##000000
##3188781.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838077
Deuteranopia (green-blind)
#767779
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318878;
/* rgb */ color: rgb(49, 136, 120);
/* oklch */ color: oklch(57.0% 0.086 178.7);
Tailwind
colors: {
  custom: {
    50: '#74ab9e',
    500: '#318878',
    950: '#000000',
  },
}
SCSS
$custom: #318878;
$custom-light: #74ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#318878",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 168.966,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.08628,
    "h": 178.7
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#318878
secondary
#B16472
accent
#516AD7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #318878

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

Preview Lab → · Contrast checker → · Palette generator →

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