#287982#287982

#287982 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.077 H 205.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#287982
RGBrgb(40, 121, 130)
HSLhsl(186, 53%, 33%)
HSVhsv(186, 69%, 51%)
CMYKcmyk(69.2%, 6.9%, 0%, 49%)
CIE-LABlab(46.63, -20.93, -12.05)
CIE-LCHlch(46.63, 24.15, 209.92°)
OKLaboklab(53.18% -0.0696 -0.0334)
OKLCHoklch(53.18% 0.077 205.6)
XYZxyz(11.7400, 15.7362, 23.5334)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287982 #823128
analogous
#28825E #287982 #284C82
triadic
#287982 #822879 #798228
tetradic
#287982 #5E2882 #823128 #4C8228
square
#287982 #5E2882 #823128 #4C8228
split-complementary
#287982 #82284C #825E28
monochromatic
#0B2224 #1A4D53 #287982 #36A5B1 #59C0CC

Accessibility & contrast

On white

5.06
#287982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#287982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287982
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287982#FFFFFF#000000##FFFFFF
##2879821.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7483
Deuteranopia (green-blind)
#626A82
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287982;
/* rgb */ color: rgb(40, 121, 130);
/* oklch */ color: oklch(53.2% 0.077 205.6);
Tailwind
colors: {
  custom: {
    50: '#6fa0a6',
    500: '#287982',
    950: '#000000',
  },
}
SCSS
$custom: #287982;
$custom-light: #6fa0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#287982",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 130
  },
  "hsl": {
    "h": 186,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.07724,
    "h": 205.6
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#287982
secondary
#B15E55
accent
#5A4BDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287982

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

Preview Lab → · Contrast checker → · Palette generator →

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