#287997#287997

#287997 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.089 H 226.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#287997
RGBrgb(40, 121, 151)
HSLhsl(196, 58%, 37%)
HSVhsv(196, 74%, 59%)
CMYKcmyk(73.5%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.44, -13.90, -23.21)
CIE-LCHlch(47.44, 27.06, 239.09°)
OKLaboklab(54.11% -0.0608 -0.0651)
OKLCHoklch(54.11% 0.089 226.9)
XYZxyz(13.2961, 16.3587, 31.7290)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287997 #974628
analogous
#28977D #287997 #284297
triadic
#287997 #972879 #799728
tetradic
#287997 #7D2897 #974628 #429728
square
#287997 #7D2897 #974628 #429728
split-complementary
#287997 #972842 #977D28
monochromatic
#0E2B36 #1B5267 #287997 #35A0C7 #64B7D6

Accessibility & contrast

On white

4.92
#287997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#287997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287997
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287997#FFFFFF#000000##FFFFFF
##2879971.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287997;
/* rgb */ color: rgb(40, 121, 151);
/* oklch */ color: oklch(54.1% 0.089 226.9);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#287997',
    950: '#000000',
  },
}
SCSS
$custom: #287997;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#287997",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 196.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.08906,
    "h": 226.9
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#287997
secondary
#BC785F
accent
#7046E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #287997

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

Preview Lab → · Contrast checker → · Palette generator →

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