#286CC5#286CC5

#286CC5 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.7% C 0.155 H 256.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#286CC5
RGBrgb(40, 108, 197)
HSLhsl(214, 66%, 46%)
HSVhsv(214, 80%, 77%)
CMYKcmyk(79.7%, 45.2%, 0%, 22.7%)
CIE-LABlab(45.91, 10.99, -52.42)
CIE-LCHlch(45.91, 53.56, 281.84°)
OKLaboklab(53.68% -0.0354 -0.1504)
OKLCHoklch(53.68% 0.155 256.8)
XYZxyz(16.3119, 15.2055, 54.8877)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286CC5 #C58128
analogous
#28BBC5 #286CC5 #3328C5
triadic
#286CC5 #C5286C #6CC528
tetradic
#286CC5 #C528BB #C58128 #28C533
square
#286CC5 #C528BB #C58128 #28C533
split-complementary
#286CC5 #C53328 #BBC528
monochromatic
#13345F #1E5092 #286CC5 #4F8CDB #82ADE6

Accessibility & contrast

On white

5.20
#286CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#286CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286CC5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286CC5#FFFFFF#000000##FFFFFF
##286CC51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C8
Deuteranopia (green-blind)
#1966C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #286cc5;
/* rgb */ color: rgb(40, 108, 197);
/* oklch */ color: oklch(53.7% 0.155 256.8);
Tailwind
colors: {
  custom: {
    50: '#7a95d7',
    500: '#286cc5',
    950: '#000000',
  },
}
SCSS
$custom: #286cc5;
$custom-light: #7a95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#286cc5",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 214.013,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.15452,
    "h": 256.8
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#286CC5
secondary
#CEAA7A
accent
#9F3FE9
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #286CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#286CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva