#286E7B#286E7B

#286E7B is a mid, moderate teal. Relative luminance 0.130; OKLCH L 50.0% C 0.071 H 212.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#286E7B
RGBrgb(40, 110, 123)
HSLhsl(189, 51%, 32%)
HSVhsv(189, 67%, 48%)
CMYKcmyk(67.5%, 10.6%, 0%, 51.8%)
CIE-LABlab(42.81, -17.26, -13.64)
CIE-LCHlch(42.81, 22.00, 218.32°)
OKLaboklab(50.02% -0.0605 -0.0379)
OKLCHoklch(50.02% 0.071 212.1)
XYZxyz(10.0247, 13.0320, 20.7222)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E7B #7B3528
analogous
#287B5F #286E7B #28447B
triadic
#286E7B #7B286E #6E7B28
tetradic
#286E7B #5F287B #7B3528 #447B28
square
#286E7B #5F287B #7B3528 #447B28
split-complementary
#286E7B #7B2844 #7B5F28
monochromatic
#0A1B1F #19454D #286E7B #3797A9 #56B6C8

Accessibility & contrast

On white

5.82
#286E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#286E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E7B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E7B#FFFFFF#000000##FFFFFF
##286E7B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#007372
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #286e7b;
/* rgb */ color: rgb(40, 110, 123);
/* oklch */ color: oklch(50.0% 0.071 212.1);
Tailwind
colors: {
  custom: {
    50: '#6d97a1',
    500: '#286e7b',
    950: '#000000',
  },
}
SCSS
$custom: #286e7b;
$custom-light: #6d97a1;
$custom-dark: #000000;
JSON
{
  "hex": "#286e7b",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 123
  },
  "hsl": {
    "h": 189.398,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.07137,
    "h": 212.1
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#286E7B
secondary
#AD6052
accent
#634DDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #286E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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