#287986#287986

#287986 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.079 H 210.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#287986
RGBrgb(40, 121, 134)
HSLhsl(188, 54%, 34%)
HSVhsv(188, 70%, 53%)
CMYKcmyk(70.1%, 9.7%, 0%, 47.5%)
CIE-LABlab(46.77, -19.64, -14.20)
CIE-LCHlch(46.77, 24.23, 215.87°)
OKLaboklab(53.35% -0.0679 -0.0395)
OKLCHoklch(53.35% 0.079 210.2)
XYZxyz(12.0137, 15.8457, 24.9750)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287986 #863528
analogous
#288664 #287986 #284A86
triadic
#287986 #862879 #798628
tetradic
#287986 #642886 #863528 #4A8628
square
#287986 #642886 #863528 #4A8628
split-complementary
#287986 #86284A #866428
monochromatic
#0C2428 #1A4E57 #287986 #36A4B5 #5BBECE

Accessibility & contrast

On white

5.04
#287986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#287986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287986
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287986#FFFFFF#000000##FFFFFF
##2879861.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7587
Deuteranopia (green-blind)
#606B86
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287986;
/* rgb */ color: rgb(40, 121, 134);
/* oklch */ color: oklch(53.3% 0.079 210.2);
Tailwind
colors: {
  custom: {
    50: '#6fa0a9',
    500: '#287986',
    950: '#000000',
  },
}
SCSS
$custom: #287986;
$custom-light: #6fa0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#287986",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 188.298,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.0785,
    "h": 210.2
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#287986
secondary
#B36357
accent
#5F4ADD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287986

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

Preview Lab → · Contrast checker → · Palette generator →

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