#287F9C#287F9C

#287F9C is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.091 H 224.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#287F9C
RGBrgb(40, 127, 156)
HSLhsl(195, 59%, 38%)
HSVhsv(195, 74%, 61%)
CMYKcmyk(74.4%, 18.6%, 0%, 38.8%)
CIE-LABlab(49.53, -15.52, -22.92)
CIE-LCHlch(49.53, 27.68, 235.89°)
OKLaboklab(55.85% -0.0651 -0.0642)
OKLCHoklch(55.85% 0.091 224.6)
XYZxyz(14.4627, 18.0285, 34.1637)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F9C #9C4528
analogous
#289C7F #287F9C #28459C
triadic
#287F9C #9C287F #7F9C28
tetradic
#287F9C #7F289C #9C4528 #459C28
square
#287F9C #7F289C #9C4528 #459C28
split-complementary
#287F9C #9C2845 #9C7F28
monochromatic
#0F303B #1C576B #287F9C #36A6CB #67BCD8

Accessibility & contrast

On white

4.56
#287F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#287F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287F9C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F9C#FFFFFF#000000##000000
##287F9C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9D
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#008888
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287f9c;
/* rgb */ color: rgb(40, 127, 156);
/* oklch */ color: oklch(55.8% 0.091 224.6);
Tailwind
colors: {
  custom: {
    50: '#73a4b9',
    500: '#287f9c',
    950: '#000000',
  },
}
SCSS
$custom: #287f9c;
$custom-light: #73a4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#287f9c",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 156
  },
  "hsl": {
    "h": 195,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.0914,
    "h": 224.6
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#287F9C
secondary
#BE7962
accent
#6D45E2
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #287F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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