#287E9B#287E9B

#287E9B is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.091 H 224.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#287E9B
RGBrgb(40, 126, 155)
HSLhsl(195, 59%, 38%)
HSVhsv(195, 74%, 61%)
CMYKcmyk(74.2%, 18.7%, 0%, 39.2%)
CIE-LABlab(49.18, -15.31, -22.88)
CIE-LCHlch(49.18, 27.53, 236.21°)
OKLaboklab(55.55% -0.0644 -0.0641)
OKLCHoklch(55.55% 0.091 224.8)
XYZxyz(14.2499, 17.7377, 33.6767)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E9B #9B4528
analogous
#289B7E #287E9B #28459B
triadic
#287E9B #9B287E #7E9B28
tetradic
#287E9B #7E289B #9B4528 #459B28
square
#287E9B #7E289B #9B4528 #459B28
split-complementary
#287E9B #9B2845 #9B7E28
monochromatic
#0F2F3A #1B566A #287E9B #35A5CB #66BBD7

Accessibility & contrast

On white

4.62
#287E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#287E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287E9B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E9B#FFFFFF#000000##FFFFFF
##287E9B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9C
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287e9b;
/* rgb */ color: rgb(40, 126, 155);
/* oklch */ color: oklch(55.6% 0.091 224.8);
Tailwind
colors: {
  custom: {
    50: '#73a3b8',
    500: '#287e9b',
    950: '#000000',
  },
}
SCSS
$custom: #287e9b;
$custom-light: #73a3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#287e9b",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 155
  },
  "hsl": {
    "h": 195.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.09088,
    "h": 224.8
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#287E9B
secondary
#BD7961
accent
#6D46E2
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #287E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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