#287A8A#287A8A

#287A8A is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.8% C 0.080 H 213.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#287A8A
RGBrgb(40, 122, 138)
HSLhsl(190, 55%, 35%)
HSVhsv(190, 71%, 54%)
CMYKcmyk(71%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.24, -18.86, -15.85)
CIE-LCHlch(47.24, 24.64, 220.05°)
OKLaboklab(53.78% -0.0672 -0.0441)
OKLCHoklch(53.78% 0.08 213.3)
XYZxyz(12.4201, 16.2038, 26.5129)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A8A #8A3828
analogous
#288A69 #287A8A #28498A
triadic
#287A8A #8A287A #7A8A28
tetradic
#287A8A #69288A #8A3828 #498A28
square
#287A8A #69288A #8A3828 #498A28
split-complementary
#287A8A #8A2849 #8A6928
monochromatic
#0C262B #1A505B #287A8A #36A4B9 #5DBDD0

Accessibility & contrast

On white

4.95
#287A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#287A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A8A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A8A#FFFFFF#000000##FFFFFF
##287A8A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287a8a;
/* rgb */ color: rgb(40, 122, 138);
/* oklch */ color: oklch(53.8% 0.080 213.3);
Tailwind
colors: {
  custom: {
    50: '#70a0ac',
    500: '#287a8a',
    950: '#000000',
  },
}
SCSS
$custom: #287a8a;
$custom-light: #70a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287a8a",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 189.796,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.0804,
    "h": 213.3
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#287A8A
secondary
#B56859
accent
#6249DE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#287A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva