#287A7E#287A7E

#287A7E is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.3% C 0.077 H 199.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#287A7E
RGBrgb(40, 122, 126)
HSLhsl(183, 52%, 33%)
HSVhsv(183, 68%, 49%)
CMYKcmyk(68.3%, 3.2%, 0%, 50.6%)
CIE-LABlab(46.81, -22.73, -9.40)
CIE-LCHlch(46.81, 24.59, 202.47°)
OKLaboklab(53.29% -0.0726 -0.0261)
OKLCHoklch(53.29% 0.077 199.8)
XYZxyz(11.5989, 15.8752, 22.1876)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A7E #7E2C28
analogous
#287E57 #287A7E #284F7E
triadic
#287A7E #7E287A #7A7E28
tetradic
#287A7E #57287E #7E2C28 #4F7E28
square
#287A7E #57287E #7E2C28 #4F7E28
split-complementary
#287A7E #7E284F #7E5728
monochromatic
#0B2021 #194D50 #287A7E #37A7AC #57C4CA

Accessibility & contrast

On white

5.03
#287A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#287A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A7E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A7E#FFFFFF#000000##FFFFFF
##287A7E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747E
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287a7e;
/* rgb */ color: rgb(40, 122, 126);
/* oklch */ color: oklch(53.3% 0.077 199.8);
Tailwind
colors: {
  custom: {
    50: '#6fa0a3',
    500: '#287a7e',
    950: '#000000',
  },
}
SCSS
$custom: #287a7e;
$custom-light: #6fa0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#287a7e",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 126
  },
  "hsl": {
    "h": 182.791,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.0771,
    "h": 199.8
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#287A7E
secondary
#AF5753
accent
#534DDB
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #287A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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