#287989#287989

#287989 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.5% C 0.080 H 213.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#287989
RGBrgb(40, 121, 137)
HSLhsl(190, 55%, 35%)
HSVhsv(190, 71%, 54%)
CMYKcmyk(70.8%, 11.7%, 0%, 46.3%)
CIE-LABlab(46.88, -18.65, -15.81)
CIE-LCHlch(46.88, 24.45, 220.28°)
OKLaboklab(53.48% -0.0666 -0.044)
OKLCHoklch(53.48% 0.08 213.5)
XYZxyz(12.2259, 15.9306, 26.0926)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287989 #893828
analogous
#288969 #287989 #284989
triadic
#287989 #892879 #798928
tetradic
#287989 #692889 #893828 #498928
square
#287989 #692889 #893828 #498928
split-complementary
#287989 #892849 #896928
monochromatic
#0C252A #1A4F5A #287989 #36A3B8 #5CBCCF

Accessibility & contrast

On white

5.02
#287989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#287989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287989
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287989#FFFFFF#000000##FFFFFF
##2879891.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758A
Deuteranopia (green-blind)
#5F6B89
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287989;
/* rgb */ color: rgb(40, 121, 137);
/* oklch */ color: oklch(53.5% 0.080 213.5);
Tailwind
colors: {
  custom: {
    50: '#70a0ab',
    500: '#287989',
    950: '#000000',
  },
}
SCSS
$custom: #287989;
$custom-light: #70a0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#287989",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 137
  },
  "hsl": {
    "h": 189.897,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.07978,
    "h": 213.5
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#287989
secondary
#B56758
accent
#624ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287989

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

Preview Lab → · Contrast checker → · Palette generator →

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