#286EC5#286EC5

#286EC5 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.1% C 0.152 H 255.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#286EC5
RGBrgb(40, 110, 197)
HSLhsl(213, 66%, 46%)
HSVhsv(213, 80%, 77%)
CMYKcmyk(79.7%, 44.2%, 0%, 22.7%)
CIE-LABlab(46.49, 9.72, -51.50)
CIE-LCHlch(46.49, 52.41, 280.69°)
OKLaboklab(54.13% -0.037 -0.1477)
OKLCHoklch(54.13% 0.152 255.9)
XYZxyz(16.5253, 15.6322, 54.9589)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286EC5 #C57F28
analogous
#28BDC5 #286EC5 #3028C5
triadic
#286EC5 #C5286E #6EC528
tetradic
#286EC5 #C528BD #C57F28 #28C530
square
#286EC5 #C528BD #C57F28 #28C530
split-complementary
#286EC5 #C53028 #BDC528
monochromatic
#13355F #1E5292 #286EC5 #4F8EDB #82AEE6

Accessibility & contrast

On white

5.09
#286EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#286EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286EC5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286EC5#FFFFFF#000000##FFFFFF
##286EC51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#2068C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #286ec5;
/* rgb */ color: rgb(40, 110, 197);
/* oklch */ color: oklch(54.1% 0.152 255.9);
Tailwind
colors: {
  custom: {
    50: '#7a97d7',
    500: '#286ec5',
    950: '#000000',
  },
}
SCSS
$custom: #286ec5;
$custom-light: #7a97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#286ec5",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 213.248,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.15223,
    "h": 255.9
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#286EC5
secondary
#CEA97A
accent
#9D3FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #286EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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