#287880#287880

#287880 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.076 H 204.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#287880
RGBrgb(40, 120, 128)
HSLhsl(185, 52%, 33%)
HSVhsv(185, 69%, 50%)
CMYKcmyk(68.8%, 6.3%, 0%, 49.8%)
CIE-LABlab(46.23, -21.05, -11.45)
CIE-LCHlch(46.23, 23.96, 208.56°)
OKLaboklab(52.84% -0.0694 -0.0318)
OKLCHoklch(52.84% 0.076 204.6)
XYZxyz(11.4861, 15.4413, 22.7930)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287880 #803028
analogous
#28805C #287880 #284C80
triadic
#287880 #802878 #788028
tetradic
#287880 #5C2880 #803028 #4C8028
square
#287880 #5C2880 #803028 #4C8028
split-complementary
#287880 #80284C #805C28
monochromatic
#0B2123 #194C51 #287880 #37A4AF #58C0CB

Accessibility & contrast

On white

5.14
#287880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#287880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287880
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287880#FFFFFF#000000##FFFFFF
##2878801.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7381
Deuteranopia (green-blind)
#616980
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287880;
/* rgb */ color: rgb(40, 120, 128);
/* oklch */ color: oklch(52.8% 0.076 204.6);
Tailwind
colors: {
  custom: {
    50: '#6f9fa4',
    500: '#287880',
    950: '#000000',
  },
}
SCSS
$custom: #287880;
$custom-light: #6f9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#287880",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 128
  },
  "hsl": {
    "h": 185.455,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.07635,
    "h": 204.6
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#287880
secondary
#B05C54
accent
#594CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287880

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

Preview Lab → · Contrast checker → · Palette generator →

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