#286FE2#286FE2

#286FE2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.4% C 0.189 H 259.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#286FE2
RGBrgb(40, 111, 226)
HSLhsl(217, 76%, 52%)
HSVhsv(217, 82%, 89%)
CMYKcmyk(82.3%, 50.9%, 0%, 11.4%)
CIE-LABlab(48.65, 20.14, -64.55)
CIE-LCHlch(48.65, 67.62, 287.33°)
OKLaboklab(56.39% -0.0331 -0.186)
OKLCHoklch(56.39% 0.189 259.9)
XYZxyz(20.2820, 17.3085, 74.2087)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286FE2 #E29B28
analogous
#28CCE2 #286FE2 #3E28E2
triadic
#286FE2 #E2286F #6FE228
tetradic
#286FE2 #E228CC #E29B28 #28E23E
square
#286FE2 #E228CC #E29B28 #28E23E
split-complementary
#286FE2 #E23E28 #CCE228
monochromatic
#113B7F #1854B4 #286FE2 #5E93E9 #94B7F1

Accessibility & contrast

On white

4.71
#286FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#286FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286FE2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286FE2#FFFFFF#000000##FFFFFF
##286FE21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#207CE6
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #286fe2;
/* rgb */ color: rgb(40, 111, 226);
/* oklch */ color: oklch(56.4% 0.189 259.9);
Tailwind
colors: {
  custom: {
    50: '#8197ec',
    500: '#286fe2',
    950: '#000000',
  },
}
SCSS
$custom: #286fe2;
$custom-light: #8197ec;
$custom-dark: #000000;
JSON
{
  "hex": "#286fe2",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 217.097,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.18895,
    "h": 259.9
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#286FE2
secondary
#DCBD8A
accent
#AA35F3
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #286FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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