#287897#287897

#287897 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.089 H 228.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#287897
RGBrgb(40, 120, 151)
HSLhsl(197, 58%, 37%)
HSVhsv(197, 74%, 59%)
CMYKcmyk(73.5%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.13, -13.33, -23.70)
CIE-LCHlch(47.13, 27.19, 240.64°)
OKLaboklab(53.86% -0.0598 -0.0665)
OKLCHoklch(53.86% 0.089 228)
XYZxyz(13.1752, 16.1169, 31.6887)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287897 #974728
analogous
#28977F #287897 #284097
triadic
#287897 #972878 #789728
tetradic
#287897 #7F2897 #974728 #409728
square
#287897 #7F2897 #974728 #409728
split-complementary
#287897 #972840 #977F28
monochromatic
#0E2B36 #1B5267 #287897 #359EC7 #64B6D6

Accessibility & contrast

On white

4.97
#287897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#287897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287897
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287897#FFFFFF#000000##FFFFFF
##2878971.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287897;
/* rgb */ color: rgb(40, 120, 151);
/* oklch */ color: oklch(53.9% 0.089 228.0);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#287897',
    950: '#000000',
  },
}
SCSS
$custom: #287897;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#287897",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 196.757,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.08939,
    "h": 228
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#287897
secondary
#BC795F
accent
#7246E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287897

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

Preview Lab → · Contrast checker → · Palette generator →

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