#317178#317178

#317178 is a mid, moderate teal. Relative luminance 0.138; OKLCH L 51.0% C 0.066 H 205.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#317178
RGBrgb(49, 113, 120)
HSLhsl(186, 42%, 33%)
HSVhsv(186, 59%, 47%)
CMYKcmyk(59.2%, 5.8%, 0%, 52.9%)
CIE-LABlab(43.97, -18.12, -10.06)
CIE-LCHlch(43.97, 20.73, 209.02°)
OKLaboklab(51.01% -0.0596 -0.0278)
OKLCHoklch(51.01% 0.066 205)
XYZxyz(10.5605, 13.8183, 19.8763)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317178 #783831
analogous
#31785B #317178 #314D78
triadic
#317178 #783171 #717831
tetradic
#317178 #5B3178 #783831 #4D7831
square
#317178 #5B3178 #783831 #4D7831
split-complementary
#317178 #78314D #785B31
monochromatic
#0E1F21 #1F484D #317178 #439AA3 #64B7C0

Accessibility & contrast

On white

5.58
#317178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#317178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317178
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317178#FFFFFF#000000##FFFFFF
##3171781.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696D79
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#007573
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317178;
/* rgb */ color: rgb(49, 113, 120);
/* oklch */ color: oklch(51.0% 0.066 205.0);
Tailwind
colors: {
  custom: {
    50: '#719a9f',
    500: '#317178',
    950: '#000000',
  },
}
SCSS
$custom: #317178;
$custom-light: #719a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#317178",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 185.915,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.06576,
    "h": 205
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#317178
secondary
#A7655E
accent
#6256D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #317178

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

Preview Lab → · Contrast checker → · Palette generator →

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