#318879#318879

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

Color values

HEX#318879
RGBrgb(49, 136, 121)
HSLhsl(170, 47%, 36%)
HSVhsv(170, 64%, 53%)
CMYKcmyk(64%, 0%, 11%, 46.7%)
CIE-LABlab(51.43, -29.63, 0.40)
CIE-LCHlch(51.43, 29.63, 179.22°)
OKLaboklab(57.05% -0.0858 0.0006)
OKLCHoklch(57.05% 0.086 179.6)
XYZxyz(13.5204, 19.6403, 21.1639)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318879 #883140
analogous
#31884E #318879 #316C88
triadic
#318879 #793188 #887931
tetradic
#318879 #4E3188 #883140 #6C8831
square
#318879 #4E3188 #883140 #6C8831
split-complementary
#318879 #88316C #884E31
monochromatic
#112E29 #215B51 #318879 #41B5A1 #6AC9B9

Accessibility & contrast

On white

4.26
#318879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#318879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318879
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318879#FFFFFF#000000##000000
##3188791.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#828078
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318879;
/* rgb */ color: rgb(49, 136, 121);
/* oklch */ color: oklch(57.1% 0.086 179.6);
Tailwind
colors: {
  custom: {
    50: '#74ab9f',
    500: '#318879',
    950: '#000000',
  },
}
SCSS
$custom: #318879;
$custom-light: #74ab9f;
$custom-dark: #000000;
JSON
{
  "hex": "#318879",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 121
  },
  "hsl": {
    "h": 169.655,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.08577,
    "h": 179.6
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

primary
#318879
secondary
#B16471
accent
#5168D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #318879

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

Preview Lab → · Contrast checker → · Palette generator →

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