#287B5D#287B5D

#287B5D is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.5% C 0.093 H 165.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#287B5D
RGBrgb(40, 123, 93)
HSLhsl(158, 51%, 32%)
HSVhsv(158, 67%, 48%)
CMYKcmyk(67.5%, 0%, 24.4%, 51.8%)
CIE-LABlab(46.19, -32.53, 9.23)
CIE-LCHlch(46.19, 33.81, 164.16°)
OKLaboklab(52.46% -0.0899 0.0236)
OKLCHoklch(52.46% 0.093 165.3)
XYZxyz(9.9328, 15.4063, 12.8040)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B5D #7B2846
analogous
#287B34 #287B5D #28707B
triadic
#287B5D #5D287B #7B5D28
tetradic
#287B5D #34287B #7B2846 #707B28
square
#287B5D #34287B #7B2846 #707B28
split-complementary
#287B5D #7B2870 #7B3428
monochromatic
#0A1F17 #194D3A #287B5D #37A980 #56C89F

Accessibility & contrast

On white

5.15
#287B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#287B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B5D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B5D#FFFFFF#000000##FFFFFF
##287B5D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725B
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287b5d;
/* rgb */ color: rgb(40, 123, 93);
/* oklch */ color: oklch(52.5% 0.093 165.3);
Tailwind
colors: {
  custom: {
    50: '#6da28b',
    500: '#287b5d',
    950: '#000000',
  },
}
SCSS
$custom: #287b5d;
$custom-light: #6da28b;
$custom-dark: #000000;
JSON
{
  "hex": "#287b5d",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 93
  },
  "hsl": {
    "h": 158.313,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.09296,
    "h": 165.3
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#287B5D
secondary
#AD5273
accent
#4D80DA
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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