#287985#287985

#287985 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.078 H 209.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#287985
RGBrgb(40, 121, 133)
HSLhsl(188, 54%, 34%)
HSVhsv(188, 70%, 52%)
CMYKcmyk(69.9%, 9%, 0%, 47.8%)
CIE-LABlab(46.73, -19.96, -13.66)
CIE-LCHlch(46.73, 24.19, 214.39°)
OKLaboklab(53.31% -0.0683 -0.0379)
OKLCHoklch(53.31% 0.078 209.1)
XYZxyz(11.9443, 15.8180, 24.6094)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287985 #853428
analogous
#288563 #287985 #284B85
triadic
#287985 #852879 #798528
tetradic
#287985 #632885 #853428 #4B8528
square
#287985 #632885 #853428 #4B8528
split-complementary
#287985 #85284B #856328
monochromatic
#0C2327 #1A4E56 #287985 #36A4B4 #5ABECD

Accessibility & contrast

On white

5.04
#287985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#287985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287985
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287985#FFFFFF#000000##FFFFFF
##2879851.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7486
Deuteranopia (green-blind)
#616B85
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287985;
/* rgb */ color: rgb(40, 121, 133);
/* oklch */ color: oklch(53.3% 0.078 209.1);
Tailwind
colors: {
  custom: {
    50: '#6fa0a8',
    500: '#287985',
    950: '#000000',
  },
}
SCSS
$custom: #287985;
$custom-light: #6fa0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#287985",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 133
  },
  "hsl": {
    "h": 187.742,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.07814,
    "h": 209.1
  },
  "luminance": 0.15819
}

Semantic roles & 50–950 ramp

primary
#287985
secondary
#B36256
accent
#5E4BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287985

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

Preview Lab → · Contrast checker → · Palette generator →

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