#286DE3#286DE3

#286DE3 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.193 H 260.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#286DE3
RGBrgb(40, 109, 227)
HSLhsl(218, 77%, 52%)
HSVhsv(218, 82%, 89%)
CMYKcmyk(82.4%, 52%, 0%, 11%)
CIE-LABlab(48.17, 21.79, -65.88)
CIE-LCHlch(48.17, 69.39, 288.30°)
OKLaboklab(56.05% -0.0317 -0.19)
OKLCHoklch(56.05% 0.193 260.5)
XYZxyz(20.2038, 16.9319, 74.8615)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286DE3 #E39E28
analogous
#28CBE3 #286DE3 #4128E3
triadic
#286DE3 #E3286D #6DE328
tetradic
#286DE3 #E328CB #E39E28 #28E341
square
#286DE3 #E328CB #E39E28 #28E341
split-complementary
#286DE3 #E34128 #CBE328
monochromatic
#113A80 #1852B6 #286DE3 #5E92EA #94B7F1

Accessibility & contrast

On white

4.79
#286DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#286DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286DE3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286DE3#FFFFFF#000000##FFFFFF
##286DE31.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#147BE7
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #286de3;
/* rgb */ color: rgb(40, 109, 227);
/* oklch */ color: oklch(56.1% 0.193 260.5);
Tailwind
colors: {
  custom: {
    50: '#8196ed',
    500: '#286de3',
    950: '#000000',
  },
}
SCSS
$custom: #286de3;
$custom-light: #8196ed;
$custom-dark: #000000;
JSON
{
  "hex": "#286de3",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 227
  },
  "hsl": {
    "h": 217.861,
    "s": 76.955,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.1926,
    "h": 260.5
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#286DE3
secondary
#DCBE8B
accent
#AD34F3
background
#F8F9FE
surface
#F0F1FD
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #286DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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