#287BAB#287BAB

#287BAB is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.6% C 0.107 H 238.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#287BAB
RGBrgb(40, 123, 171)
HSLhsl(202, 62%, 41%)
HSVhsv(202, 77%, 67%)
CMYKcmyk(76.6%, 28.1%, 0%, 32.9%)
CIE-LABlab(48.95, -7.94, -32.56)
CIE-LCHlch(48.95, 33.51, 256.29°)
OKLaboklab(55.61% -0.0556 -0.092)
OKLCHoklch(55.61% 0.108 238.9)
XYZxyz(15.3058, 17.5555, 41.1021)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287BAB #AB5828
analogous
#28AB9A #287BAB #283AAB
triadic
#287BAB #AB287B #7BAB28
tetradic
#287BAB #9A28AB #AB5828 #3AAB28
square
#287BAB #9A28AB #AB5828 #3AAB28
split-complementary
#287BAB #AB283A #AB9A28
monochromatic
#113448 #1C5779 #287BAB #3E9CD2 #70B5DE

Accessibility & contrast

On white

4.65
#287BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#287BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287BAB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287BAB#FFFFFF#000000##FFFFFF
##287BAB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAD
Deuteranopia (green-blind)
#526FAA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287bab;
/* rgb */ color: rgb(40, 123, 171);
/* oklch */ color: oklch(55.6% 0.107 238.9);
Tailwind
colors: {
  custom: {
    50: '#75a1c4',
    500: '#287bab',
    950: '#000000',
  },
}
SCSS
$custom: #287bab;
$custom-light: #75a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#287bab",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 201.985,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.1075,
    "h": 238.9
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#287BAB
secondary
#C48B6A
accent
#7E43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #287BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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