#318779#318779

#318779 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.085 H 180.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#318779
RGBrgb(49, 135, 121)
HSLhsl(170, 47%, 36%)
HSVhsv(170, 64%, 53%)
CMYKcmyk(63.7%, 0%, 10.4%, 47.1%)
CIE-LABlab(51.11, -29.15, -0.07)
CIE-LCHlch(51.11, 29.15, 180.13°)
OKLaboklab(56.79% -0.0846 -0.0007)
OKLCHoklch(56.79% 0.085 180.4)
XYZxyz(13.3802, 19.3600, 21.1172)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318779 #87313F
analogous
#31874E #318779 #316A87
triadic
#318779 #793187 #877931
tetradic
#318779 #4E3187 #87313F #6A8731
square
#318779 #4E3187 #87313F #6A8731
split-complementary
#318779 #87316A #874E31
monochromatic
#102D29 #215A51 #318779 #41B4A1 #6AC9B9

Accessibility & contrast

On white

4.31
#318779 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#318779 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318779
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318779#FFFFFF#000000##000000
##3187791.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F78
Deuteranopia (green-blind)
#74767A
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318779;
/* rgb */ color: rgb(49, 135, 121);
/* oklch */ color: oklch(56.8% 0.085 180.4);
Tailwind
colors: {
  custom: {
    50: '#74aa9f',
    500: '#318779',
    950: '#000000',
  },
}
SCSS
$custom: #318779;
$custom-light: #74aa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#318779",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 121
  },
  "hsl": {
    "h": 170.233,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.08464,
    "h": 180.4
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#318779
secondary
#B06470
accent
#5167D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #318779

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

Preview Lab → · Contrast checker → · Palette generator →

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