#286D7A#286D7A

#286D7A is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.7% C 0.071 H 212.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#286D7A
RGBrgb(40, 109, 122)
HSLhsl(190, 51%, 32%)
HSVhsv(190, 67%, 48%)
CMYKcmyk(67.2%, 10.7%, 0%, 52.2%)
CIE-LABlab(42.45, -17.04, -13.59)
CIE-LCHlch(42.45, 21.79, 218.58°)
OKLaboklab(49.72% -0.0598 -0.0377)
OKLCHoklch(49.72% 0.071 212.3)
XYZxyz(9.8551, 12.7925, 20.3584)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D7A #7A3528
analogous
#287A5E #286D7A #28447A
triadic
#286D7A #7A286D #6D7A28
tetradic
#286D7A #5E287A #7A3528 #447A28
square
#286D7A #5E287A #7A3528 #447A28
split-complementary
#286D7A #7A2844 #7A5E28
monochromatic
#0A1B1E #19444C #286D7A #3796A8 #55B5C7

Accessibility & contrast

On white

5.90
#286D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#286D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D7A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D7A#FFFFFF#000000##FFFFFF
##286D7A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63697B
Deuteranopia (green-blind)
#57607A
Tritanopia (blue-blind)
#007271
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286d7a;
/* rgb */ color: rgb(40, 109, 122);
/* oklch */ color: oklch(49.7% 0.071 212.3);
Tailwind
colors: {
  custom: {
    50: '#6d97a0',
    500: '#286d7a',
    950: '#000000',
  },
}
SCSS
$custom: #286d7a;
$custom-light: #6d97a0;
$custom-dark: #000000;
JSON
{
  "hex": "#286d7a",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 122
  },
  "hsl": {
    "h": 189.512,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4972,
    "c": 0.0707,
    "h": 212.3
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#286D7A
secondary
#AC6052
accent
#644EDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #286D7A

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

Preview Lab → · Contrast checker → · Palette generator →

#286D7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva