#287F97#287F97

#287F97 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.6% C 0.088 H 220.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#287F97
RGBrgb(40, 127, 151)
HSLhsl(193, 58%, 37%)
HSVhsv(193, 74%, 59%)
CMYKcmyk(73.5%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.33, -17.23, -20.31)
CIE-LCHlch(49.33, 26.63, 229.69°)
OKLaboklab(55.62% -0.0671 -0.0567)
OKLCHoklch(55.62% 0.088 220.2)
XYZxyz(14.0480, 17.8626, 31.9796)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F97 #974028
analogous
#289778 #287F97 #284897
triadic
#287F97 #97287F #7F9728
tetradic
#287F97 #782897 #974028 #489728
square
#287F97 #782897 #974028 #489728
split-complementary
#287F97 #972848 #977828
monochromatic
#0E2E36 #1B5667 #287F97 #35A8C7 #64BDD6

Accessibility & contrast

On white

4.59
#287F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#287F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287F97
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F97#FFFFFF#000000##FFFFFF
##287F971.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707C98
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287f97;
/* rgb */ color: rgb(40, 127, 151);
/* oklch */ color: oklch(55.6% 0.088 220.2);
Tailwind
colors: {
  custom: {
    50: '#72a4b5',
    500: '#287f97',
    950: '#000000',
  },
}
SCSS
$custom: #287f97;
$custom-light: #72a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#287f97",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 192.973,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.08784,
    "h": 220.2
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#287F97
secondary
#BC735F
accent
#6846E1
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #287F97

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

Preview Lab → · Contrast checker → · Palette generator →

#287F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva