#286FC5#286FC5

#286FC5 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.4% C 0.151 H 255.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#286FC5
RGBrgb(40, 111, 197)
HSLhsl(213, 66%, 46%)
HSVhsv(213, 80%, 77%)
CMYKcmyk(79.7%, 43.7%, 0%, 22.7%)
CIE-LABlab(46.78, 9.09, -51.04)
CIE-LCHlch(46.78, 51.84, 280.10°)
OKLaboklab(54.35% -0.0378 -0.1463)
OKLCHoklch(54.35% 0.151 255.5)
XYZxyz(16.6338, 15.8492, 54.9950)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286FC5 #C57E28
analogous
#28BEC5 #286FC5 #2F28C5
triadic
#286FC5 #C5286F #6FC528
tetradic
#286FC5 #C528BE #C57E28 #28C52F
square
#286FC5 #C528BE #C57E28 #28C52F
split-complementary
#286FC5 #C52F28 #BEC528
monochromatic
#13365F #1E5292 #286FC5 #4F8EDB #82AFE6

Accessibility & contrast

On white

5.04
#286FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#286FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286FC5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286FC5#FFFFFF#000000##FFFFFF
##286FC51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4376C8
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #286fc5;
/* rgb */ color: rgb(40, 111, 197);
/* oklch */ color: oklch(54.4% 0.151 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a97d7',
    500: '#286fc5',
    950: '#000000',
  },
}
SCSS
$custom: #286fc5;
$custom-light: #7a97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#286fc5",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 212.866,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.1511,
    "h": 255.5
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#286FC5
secondary
#CEA87A
accent
#9C3FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #286FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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