#287797#287797

#287797 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.090 H 229.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#287797
RGBrgb(40, 119, 151)
HSLhsl(197, 58%, 37%)
HSVhsv(197, 74%, 59%)
CMYKcmyk(73.5%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.81, -12.77, -24.18)
CIE-LCHlch(46.81, 27.35, 242.17°)
OKLaboklab(53.61% -0.0587 -0.0679)
OKLCHoklch(53.61% 0.09 229.1)
XYZxyz(13.0556, 15.8776, 31.6488)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287797 #974828
analogous
#28977F #287797 #284097
triadic
#287797 #972877 #779728
tetradic
#287797 #7F2897 #974828 #409728
square
#287797 #7F2897 #974828 #409728
split-complementary
#287797 #972840 #977F28
monochromatic
#0E2B36 #1B5167 #287797 #359DC7 #64B5D6

Accessibility & contrast

On white

5.03
#287797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#287797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287797
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287797#FFFFFF#000000##FFFFFF
##2877971.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287797;
/* rgb */ color: rgb(40, 119, 151);
/* oklch */ color: oklch(53.6% 0.090 229.1);
Tailwind
colors: {
  custom: {
    50: '#729eb5',
    500: '#287797',
    950: '#000000',
  },
}
SCSS
$custom: #287797;
$custom-light: #729eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#287797",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 197.297,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.08975,
    "h": 229.1
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#287797
secondary
#BC7A5F
accent
#7346E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287797

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

Preview Lab → · Contrast checker → · Palette generator →

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