#287FAB#287FAB

#287FAB is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.6% C 0.105 H 235.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#287FAB
RGBrgb(40, 127, 171)
HSLhsl(200, 62%, 41%)
HSVhsv(200, 77%, 67%)
CMYKcmyk(76.6%, 25.7%, 0%, 32.9%)
CIE-LABlab(50.18, -10.26, -30.64)
CIE-LCHlch(50.18, 32.31, 251.49°)
OKLaboklab(56.58% -0.0595 -0.0864)
OKLCHoklch(56.58% 0.105 235.4)
XYZxyz(15.8122, 18.5683, 41.2708)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FAB #AB5428
analogous
#28AB96 #287FAB #283EAB
triadic
#287FAB #AB287F #7FAB28
tetradic
#287FAB #9628AB #AB5428 #3EAB28
square
#287FAB #9628AB #AB5428 #3EAB28
split-complementary
#287FAB #AB283E #AB9628
monochromatic
#113548 #1C5A79 #287FAB #3EA0D2 #70B9DE

Accessibility & contrast

On white

4.45
#287FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#287FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FAB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FAB#FFFFFF#000000##000000
##287FAB1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287fab;
/* rgb */ color: rgb(40, 127, 171);
/* oklch */ color: oklch(56.6% 0.105 235.4);
Tailwind
colors: {
  custom: {
    50: '#75a4c4',
    500: '#287fab',
    950: '#000000',
  },
}
SCSS
$custom: #287fab;
$custom-light: #75a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#287fab",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 200.153,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.10491,
    "h": 235.4
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#287FAB
secondary
#C4896A
accent
#7943E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #287FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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