#287B79#287B79

#287B79 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.4% C 0.078 H 192.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#287B79
RGBrgb(40, 123, 121)
HSLhsl(179, 51%, 32%)
HSVhsv(179, 67%, 48%)
CMYKcmyk(67.5%, 0%, 1.6%, 51.8%)
CIE-LABlab(46.97, -24.78, -6.19)
CIE-LCHlch(46.97, 25.55, 194.03°)
OKLaboklab(53.36% -0.076 -0.0172)
OKLCHoklch(53.36% 0.078 192.8)
XYZxyz(11.4077, 15.9962, 20.5718)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B79 #7B282A
analogous
#287B50 #287B79 #28547B
triadic
#287B79 #79287B #7B7928
tetradic
#287B79 #50287B #7B282A #547B28
square
#287B79 #50287B #7B282A #547B28
split-complementary
#287B79 #7B2854 #7B5028
monochromatic
#0A1F1E #194D4C #287B79 #37A9A6 #56C8C5

Accessibility & contrast

On white

5.00
#287B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#287B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B79
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B79#FFFFFF#000000##FFFFFF
##287B791.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737579
Deuteranopia (green-blind)
#676B7A
Tritanopia (blue-blind)
#007F7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287b79;
/* rgb */ color: rgb(40, 123, 121);
/* oklch */ color: oklch(53.4% 0.078 192.8);
Tailwind
colors: {
  custom: {
    50: '#6ea19f',
    500: '#287b79',
    950: '#000000',
  },
}
SCSS
$custom: #287b79;
$custom-light: #6ea19f;
$custom-dark: #000000;
JSON
{
  "hex": "#287b79",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 121
  },
  "hsl": {
    "h": 178.554,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.07794,
    "h": 192.8
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#287B79
secondary
#AD5254
accent
#4D51DA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #287B79

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

Preview Lab → · Contrast checker → · Palette generator →

#287B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva