#286971#286971

#286971 is a mid, moderate teal. Relative luminance 0.117; OKLCH L 48.3% C 0.066 H 206.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#286971
RGBrgb(40, 105, 113)
HSLhsl(187, 48%, 30%)
HSVhsv(187, 65%, 44%)
CMYKcmyk(64.6%, 7.1%, 0%, 55.7%)
CIE-LABlab(40.81, -17.77, -10.62)
CIE-LCHlch(40.81, 20.70, 210.88°)
OKLaboklab(48.29% -0.0592 -0.0294)
OKLCHoklch(48.29% 0.066 206.4)
XYZxyz(8.9060, 11.7456, 17.4174)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286971 #713028
analogous
#287154 #286971 #284571
triadic
#286971 #712869 #697128
tetradic
#286971 #542871 #713028 #457128
square
#286971 #542871 #713028 #457128
split-complementary
#286971 #712845 #715428
monochromatic
#081517 #183F44 #286971 #38939E #52B5C2

Accessibility & contrast

On white

6.27
#286971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#286971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286971
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286971#FFFFFF#000000##FFFFFF
##2869711.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606572
Deuteranopia (green-blind)
#555D71
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286971;
/* rgb */ color: rgb(40, 105, 113);
/* oklch */ color: oklch(48.3% 0.066 206.4);
Tailwind
colors: {
  custom: {
    50: '#6b9499',
    500: '#286971',
    950: '#000000',
  },
}
SCSS
$custom: #286971;
$custom-light: #6b9499;
$custom-dark: #000000;
JSON
{
  "hex": "#286971",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 113
  },
  "hsl": {
    "h": 186.575,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.06612,
    "h": 206.4
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#286971
secondary
#A35A52
accent
#5F50D7
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #286971

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

Preview Lab → · Contrast checker → · Palette generator →

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