#287780#287780

#287780 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.6% C 0.076 H 205.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#287780
RGBrgb(40, 119, 128)
HSLhsl(186, 52%, 33%)
HSVhsv(186, 69%, 50%)
CMYKcmyk(68.8%, 7%, 0%, 49.8%)
CIE-LABlab(45.91, -20.51, -11.94)
CIE-LCHlch(45.91, 23.74, 210.21°)
OKLaboklab(52.58% -0.0683 -0.0331)
OKLCHoklch(52.58% 0.076 205.9)
XYZxyz(11.3665, 15.2020, 22.7531)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287780 #803128
analogous
#28805D #287780 #284B80
triadic
#287780 #802877 #778028
tetradic
#287780 #5D2880 #803128 #4B8028
square
#287780 #5D2880 #803128 #4B8028
split-complementary
#287780 #80284B #805D28
monochromatic
#0B2023 #194C51 #287780 #37A2AF #58BFCB

Accessibility & contrast

On white

5.20
#287780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#287780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287780
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287780#FFFFFF#000000##FFFFFF
##2877801.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7281
Deuteranopia (green-blind)
#606980
Tritanopia (blue-blind)
#007C7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287780;
/* rgb */ color: rgb(40, 119, 128);
/* oklch */ color: oklch(52.6% 0.076 205.9);
Tailwind
colors: {
  custom: {
    50: '#6f9ea4',
    500: '#287780',
    950: '#000000',
  },
}
SCSS
$custom: #287780;
$custom-light: #6f9ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#287780",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 128
  },
  "hsl": {
    "h": 186.136,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.07594,
    "h": 205.9
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#287780
secondary
#B05D54
accent
#5B4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287780

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

Preview Lab → · Contrast checker → · Palette generator →

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