#287AC4#287AC4

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

Color values

HEX#287AC4
RGBrgb(40, 122, 196)
HSLhsl(208, 66%, 46%)
HSVhsv(208, 80%, 77%)
CMYKcmyk(79.6%, 37.8%, 0%, 23.1%)
CIE-LABlab(49.92, 1.89, -45.45)
CIE-LCHlch(49.92, 45.49, 272.38°)
OKLaboklab(56.79% -0.0473 -0.1296)
OKLCHoklch(56.79% 0.138 250)
XYZxyz(17.7946, 18.3536, 54.8186)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287AC4 #C47228
analogous
#28C4C0 #287AC4 #282CC4
triadic
#287AC4 #C4287A #7AC428
tetradic
#287AC4 #C028C4 #C47228 #2CC428
square
#287AC4 #C028C4 #C47228 #2CC428
split-complementary
#287AC4 #C4282C #C4C028
monochromatic
#133B5E #1E5A91 #287AC4 #4E98DB #81B6E5

Accessibility & contrast

On white

4.50
#287AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#287AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287AC4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287AC4#FFFFFF#000000##000000
##287AC41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC7
Deuteranopia (green-blind)
#3F70C3
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287ac4;
/* rgb */ color: rgb(40, 122, 196);
/* oklch */ color: oklch(56.8% 0.138 250.0);
Tailwind
colors: {
  custom: {
    50: '#7aa0d6',
    500: '#287ac4',
    950: '#000000',
  },
}
SCSS
$custom: #287ac4;
$custom-light: #7aa0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#287ac4",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 208.462,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.13801,
    "h": 250
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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