#287381#287381

#287381 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.6% C 0.075 H 212.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#287381
RGBrgb(40, 115, 129)
HSLhsl(189, 53%, 33%)
HSVhsv(189, 69%, 51%)
CMYKcmyk(69%, 10.9%, 0%, 49.4%)
CIE-LABlab(44.65, -18.03, -14.44)
CIE-LCHlch(44.65, 23.10, 218.69°)
OKLaboklab(51.58% -0.0635 -0.0401)
OKLCHoklch(51.58% 0.075 212.3)
XYZxyz(10.9666, 14.2963, 22.9461)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287381 #813628
analogous
#288162 #287381 #284681
triadic
#287381 #812873 #738128
tetradic
#287381 #622881 #813628 #468128
square
#287381 #622881 #813628 #468128
split-complementary
#287381 #812846 #816228
monochromatic
#0B2024 #1A4952 #287381 #369DB0 #58B9CB

Accessibility & contrast

On white

5.44
#287381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#287381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287381
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287381#FFFFFF#000000##FFFFFF
##2873811.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686F82
Deuteranopia (green-blind)
#5B6681
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287381;
/* rgb */ color: rgb(40, 115, 129);
/* oklch */ color: oklch(51.6% 0.075 212.3);
Tailwind
colors: {
  custom: {
    50: '#6e9ba5',
    500: '#287381',
    950: '#000000',
  },
}
SCSS
$custom: #287381;
$custom-light: #6e9ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#287381",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 129
  },
  "hsl": {
    "h": 189.438,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.07508,
    "h": 212.3
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#287381
secondary
#B06354
accent
#624CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287381

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

Preview Lab → · Contrast checker → · Palette generator →

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