#287AC5#287AC5

#287AC5 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.139 H 250.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#287AC5
RGBrgb(40, 122, 197)
HSLhsl(209, 66%, 46%)
HSVhsv(209, 80%, 77%)
CMYKcmyk(79.7%, 38.1%, 0%, 22.7%)
CIE-LABlab(49.98, 2.26, -45.93)
CIE-LCHlch(49.98, 45.99, 272.82°)
OKLaboklab(56.85% -0.0471 -0.1311)
OKLCHoklch(56.85% 0.139 250.2)
XYZxyz(17.9088, 18.3992, 55.4200)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287AC5 #C57328
analogous
#28C5C2 #287AC5 #282CC5
triadic
#287AC5 #C5287A #7AC528
tetradic
#287AC5 #C228C5 #C57328 #2CC528
square
#287AC5 #C228C5 #C57328 #2CC528
split-complementary
#287AC5 #C5282C #C5C228
monochromatic
#133B5F #1E5A92 #287AC5 #4F98DB #82B6E6

Accessibility & contrast

On white

4.49
#287AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#287AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287AC5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287AC5#FFFFFF#000000##000000
##287AC51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#3E70C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287ac5;
/* rgb */ color: rgb(40, 122, 197);
/* oklch */ color: oklch(56.8% 0.139 250.2);
Tailwind
colors: {
  custom: {
    50: '#7aa0d7',
    500: '#287ac5',
    950: '#000000',
  },
}
SCSS
$custom: #287ac5;
$custom-light: #7aa0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#287ac5",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 208.662,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.13926,
    "h": 250.2
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#287AC5
secondary
#CEA37A
accent
#903FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #287AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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