#287CAC#287CAC

#287CAC is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.108 H 238.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#287CAC
RGBrgb(40, 124, 172)
HSLhsl(202, 62%, 42%)
HSVhsv(202, 77%, 67%)
CMYKcmyk(76.7%, 27.9%, 0%, 32.5%)
CIE-LABlab(49.31, -8.16, -32.58)
CIE-LCHlch(49.31, 33.59, 255.94°)
OKLaboklab(55.9% -0.0562 -0.0921)
OKLCHoklch(55.9% 0.108 238.6)
XYZxyz(15.5262, 17.8431, 41.6475)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287CAC #AC5828
analogous
#28AC9A #287CAC #283AAC
triadic
#287CAC #AC287C #7CAC28
tetradic
#287CAC #9A28AC #AC5828 #3AAC28
square
#287CAC #9A28AC #AC5828 #3AAC28
split-complementary
#287CAC #AC283A #AC9A28
monochromatic
#113449 #1C587A #287CAC #3F9DD2 #71B6DE

Accessibility & contrast

On white

4.60
#287CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#287CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287CAC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287CAC#FFFFFF#000000##FFFFFF
##287CAC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#5370AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287cac;
/* rgb */ color: rgb(40, 124, 172);
/* oklch */ color: oklch(55.9% 0.108 238.6);
Tailwind
colors: {
  custom: {
    50: '#75a1c5',
    500: '#287cac',
    950: '#000000',
  },
}
SCSS
$custom: #287cac;
$custom-light: #75a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#287cac",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 201.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.10789,
    "h": 238.6
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#287CAC
secondary
#C58C6B
accent
#7E42E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #287CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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