#287279#287279

#287279 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.0% C 0.072 H 204.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#287279
RGBrgb(40, 114, 121)
HSLhsl(185, 50%, 32%)
HSVhsv(185, 67%, 47%)
CMYKcmyk(66.9%, 5.8%, 0%, 52.5%)
CIE-LABlab(44.04, -20.08, -10.58)
CIE-LCHlch(44.04, 22.70, 207.79°)
OKLaboklab(50.99% -0.0659 -0.0293)
OKLCHoklch(50.99% 0.072 204)
XYZxyz(10.3421, 13.8651, 20.2166)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287279 #792F28
analogous
#287958 #287279 #284A79
triadic
#287279 #792872 #727928
tetradic
#287279 #582879 #792F28 #4A7928
square
#287279 #582879 #792F28 #4A7928
split-complementary
#287279 #79284A #795828
monochromatic
#0A1B1D #19474B #287279 #379DA7 #55BDC7

Accessibility & contrast

On white

5.57
#287279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#287279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287279
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287279#FFFFFF#000000##FFFFFF
##2872791.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696D7A
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#007774
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287279;
/* rgb */ color: rgb(40, 114, 121);
/* oklch */ color: oklch(51.0% 0.072 204.0);
Tailwind
colors: {
  custom: {
    50: '#6d9b9f',
    500: '#287279',
    950: '#000000',
  },
}
SCSS
$custom: #287279;
$custom-light: #6d9b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#287279",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 121
  },
  "hsl": {
    "h": 185.185,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.07214,
    "h": 204
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287279

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

Preview Lab → · Contrast checker → · Palette generator →

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