#287882#287882

#287882 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.077 H 206.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#287882
RGBrgb(40, 120, 130)
HSLhsl(187, 53%, 33%)
HSVhsv(187, 69%, 51%)
CMYKcmyk(69.2%, 7.7%, 0%, 49%)
CIE-LABlab(46.30, -20.40, -12.54)
CIE-LCHlch(46.30, 23.95, 211.57°)
OKLaboklab(52.92% -0.0685 -0.0348)
OKLCHoklch(52.92% 0.077 206.9)
XYZxyz(11.6191, 15.4945, 23.4931)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287882 #823228
analogous
#28825F #287882 #284B82
triadic
#287882 #822878 #788228
tetradic
#287882 #5F2882 #823228 #4B8228
square
#287882 #5F2882 #823228 #4B8228
split-complementary
#287882 #82284B #825F28
monochromatic
#0B2224 #1A4D53 #287882 #36A3B1 #59BFCC

Accessibility & contrast

On white

5.12
#287882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#287882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287882
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287882#FFFFFF#000000##FFFFFF
##2878821.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7383
Deuteranopia (green-blind)
#616A82
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287882;
/* rgb */ color: rgb(40, 120, 130);
/* oklch */ color: oklch(52.9% 0.077 206.9);
Tailwind
colors: {
  custom: {
    50: '#6f9fa6',
    500: '#287882',
    950: '#000000',
  },
}
SCSS
$custom: #287882;
$custom-light: #6f9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#287882",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 186.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.07686,
    "h": 206.9
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#287882
secondary
#B15F55
accent
#5C4BDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287882

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

Preview Lab → · Contrast checker → · Palette generator →

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