#317278#317278

#317278 is a mid, moderate teal. Relative luminance 0.140; OKLCH L 51.3% C 0.066 H 203.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#317278
RGBrgb(49, 114, 120)
HSLhsl(185, 42%, 33%)
HSVhsv(185, 59%, 47%)
CMYKcmyk(59.2%, 5%, 0%, 52.9%)
CIE-LABlab(44.29, -18.67, -9.57)
CIE-LCHlch(44.29, 20.98, 207.14°)
OKLaboklab(51.27% -0.0608 -0.0265)
OKLCHoklch(51.27% 0.066 203.5)
XYZxyz(10.6727, 14.0426, 19.9137)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317278 #783731
analogous
#31785A #317278 #314E78
triadic
#317278 #783172 #727831
tetradic
#317278 #5A3178 #783731 #4E7831
square
#317278 #5A3178 #783731 #4E7831
split-complementary
#317278 #78314E #785A31
monochromatic
#0E1F21 #1F494D #317278 #439BA3 #64B8C0

Accessibility & contrast

On white

5.51
#317278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#317278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317278
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317278#FFFFFF#000000##FFFFFF
##3172781.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E78
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317278;
/* rgb */ color: rgb(49, 114, 120);
/* oklch */ color: oklch(51.3% 0.066 203.5);
Tailwind
colors: {
  custom: {
    50: '#719a9f',
    500: '#317278',
    950: '#000000',
  },
}
SCSS
$custom: #317278;
$custom-light: #719a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#317278",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 120
  },
  "hsl": {
    "h": 185.07,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.06629,
    "h": 203.5
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#317278
secondary
#A7645E
accent
#6056D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #317278

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

Preview Lab → · Contrast checker → · Palette generator →

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