#286AC5#286AC5

#286AC5 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.2% C 0.157 H 257.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#286AC5
RGBrgb(40, 106, 197)
HSLhsl(215, 66%, 46%)
HSVhsv(215, 80%, 77%)
CMYKcmyk(79.7%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.34, 12.26, -53.34)
CIE-LCHlch(45.34, 54.73, 282.94°)
OKLaboklab(53.24% -0.0338 -0.1531)
OKLCHoklch(53.24% 0.157 257.6)
XYZxyz(16.1034, 14.7885, 54.8182)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286AC5 #C58328
analogous
#28B9C5 #286AC5 #3528C5
triadic
#286AC5 #C5286A #6AC528
tetradic
#286AC5 #C528B9 #C58328 #28C535
square
#286AC5 #C528B9 #C58328 #28C535
split-complementary
#286AC5 #C53528 #B9C528
monochromatic
#13335F #1E4F92 #286AC5 #4F8ADB #82ACE6

Accessibility & contrast

On white

5.31
#286AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#286AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286AC5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286AC5#FFFFFF#000000##FFFFFF
##286AC51.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3973C8
Deuteranopia (green-blind)
#0E65C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #286ac5;
/* rgb */ color: rgb(40, 106, 197);
/* oklch */ color: oklch(53.2% 0.157 257.6);
Tailwind
colors: {
  custom: {
    50: '#7a94d7',
    500: '#286ac5',
    950: '#000000',
  },
}
SCSS
$custom: #286ac5;
$custom-light: #7a94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#286ac5",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 214.777,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.15684,
    "h": 257.6
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#286AC5
secondary
#CEAB7A
accent
#A13FE9
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #286AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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