#287F9F#287F9F

#287F9F is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.094 H 227.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#287F9F
RGBrgb(40, 127, 159)
HSLhsl(196, 60%, 39%)
HSVhsv(196, 75%, 62%)
CMYKcmyk(74.8%, 20.1%, 0%, 37.6%)
CIE-LABlab(49.66, -14.49, -24.48)
CIE-LCHlch(49.66, 28.44, 239.38°)
OKLaboklab(55.99% -0.0639 -0.0686)
OKLCHoklch(55.99% 0.094 227)
XYZxyz(14.7199, 18.1313, 35.5181)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F9F #9F4828
analogous
#289F84 #287F9F #28449F
triadic
#287F9F #9F287F #7F9F28
tetradic
#287F9F #84289F #9F4828 #449F28
square
#287F9F #84289F #9F4828 #449F28
split-complementary
#287F9F #9F2844 #9F8428
monochromatic
#0F313D #1C586E #287F9F #37A5CD #68BBD9

Accessibility & contrast

On white

4.54
#287F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#287F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287F9F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F9F#FFFFFF#000000##000000
##287F9F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA1
Deuteranopia (green-blind)
#5E719F
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287f9f;
/* rgb */ color: rgb(40, 127, 159);
/* oklch */ color: oklch(56.0% 0.094 227.0);
Tailwind
colors: {
  custom: {
    50: '#73a4bb',
    500: '#287f9f',
    950: '#000000',
  },
}
SCSS
$custom: #287f9f;
$custom-light: #73a4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#287f9f",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 196.134,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5599,
    "c": 0.09379,
    "h": 227
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#287F9F
secondary
#BF7C64
accent
#6F45E3
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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