#287FAC#287FAC

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

Color values

HEX#287FAC
RGBrgb(40, 127, 172)
HSLhsl(200, 62%, 42%)
HSVhsv(200, 77%, 67%)
CMYKcmyk(76.7%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.22, -9.90, -31.15)
CIE-LCHlch(50.22, 32.68, 252.37°)
OKLaboklab(56.63% -0.0591 -0.0879)
OKLCHoklch(56.63% 0.106 236.1)
XYZxyz(15.9079, 18.6065, 41.7747)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FAC #AC5528
analogous
#28AC97 #287FAC #283DAC
triadic
#287FAC #AC287F #7FAC28
tetradic
#287FAC #9728AC #AC5528 #3DAC28
square
#287FAC #9728AC #AC5528 #3DAC28
split-complementary
#287FAC #AC283D #AC9728
monochromatic
#113649 #1C5A7A #287FAC #3FA0D2 #71B9DE

Accessibility & contrast

On white

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

On black

4.72
#287FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FAC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FAC#FFFFFF#000000##000000
##287FAC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAE
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#008B8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287fac;
/* rgb */ color: rgb(40, 127, 172);
/* oklch */ color: oklch(56.6% 0.106 236.1);
Tailwind
colors: {
  custom: {
    50: '#76a4c5',
    500: '#287fac',
    950: '#000000',
  },
}
SCSS
$custom: #287fac;
$custom-light: #76a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#287fac",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 200.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.10593,
    "h": 236.1
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#287FAC
secondary
#C58A6B
accent
#7A42E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #287FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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