#317778#317778

#317778 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.6% C 0.070 H 196.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#317778
RGBrgb(49, 119, 120)
HSLhsl(181, 42%, 33%)
HSVhsv(181, 59%, 47%)
CMYKcmyk(59.2%, 0.8%, 0%, 52.9%)
CIE-LABlab(45.91, -21.34, -7.15)
CIE-LCHlch(45.91, 22.51, 198.53°)
OKLaboklab(52.57% -0.0667 -0.0198)
OKLCHoklch(52.57% 0.07 196.5)
XYZxyz(11.2522, 15.2016, 20.1069)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317778 #783231
analogous
#317855 #317778 #315378
triadic
#317778 #783177 #777831
tetradic
#317778 #553178 #783231 #537831
square
#317778 #553178 #783231 #537831
split-complementary
#317778 #783153 #785531
monochromatic
#0E2121 #1F4C4D #317778 #43A2A3 #64BEC0

Accessibility & contrast

On white

5.20
#317778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#317778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317778
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317778#FFFFFF#000000##FFFFFF
##3177781.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7278
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317778;
/* rgb */ color: rgb(49, 119, 120);
/* oklch */ color: oklch(52.6% 0.070 196.5);
Tailwind
colors: {
  custom: {
    50: '#719e9e',
    500: '#317778',
    950: '#000000',
  },
}
SCSS
$custom: #317778;
$custom-light: #719e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#317778",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 120
  },
  "hsl": {
    "h": 180.845,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.06957,
    "h": 196.5
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#317778
secondary
#A75F5E
accent
#5856D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #317778

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

Preview Lab → · Contrast checker → · Palette generator →

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