#287178#287178

#287178 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.7% C 0.071 H 204.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#287178
RGBrgb(40, 113, 120)
HSLhsl(185, 50%, 31%)
HSVhsv(185, 67%, 47%)
CMYKcmyk(66.7%, 5.8%, 0%, 52.9%)
CIE-LABlab(43.68, -19.87, -10.53)
CIE-LCHlch(43.68, 22.48, 207.92°)
OKLaboklab(50.69% -0.0652 -0.0292)
OKLCHoklch(50.69% 0.071 204.1)
XYZxyz(10.1689, 13.6163, 19.8580)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287178 #782F28
analogous
#287857 #287178 #284978
triadic
#287178 #782871 #717828
tetradic
#287178 #572878 #782F28 #497828
square
#287178 #572878 #782F28 #497828
split-complementary
#287178 #782849 #785728
monochromatic
#091B1C #19464A #287178 #379CA6 #54BCC6

Accessibility & contrast

On white

5.64
#287178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#287178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287178
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287178#FFFFFF#000000##FFFFFF
##2871781.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686C79
Deuteranopia (green-blind)
#5C6378
Tritanopia (blue-blind)
#007673
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287178;
/* rgb */ color: rgb(40, 113, 120);
/* oklch */ color: oklch(50.7% 0.071 204.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a9f',
    500: '#287178',
    950: '#000000',
  },
}
SCSS
$custom: #287178;
$custom-light: #6d9a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#287178",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 185.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.07145,
    "h": 204.1
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#287178
secondary
#AA5A52
accent
#5A4EDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #287178

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

Preview Lab → · Contrast checker → · Palette generator →

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