#5F86EA#5F86EA

#5F86EA is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.156 H 266.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5F86EA
RGBrgb(95, 134, 234)
HSLhsl(223, 77%, 65%)
HSVhsv(223, 59%, 92%)
CMYKcmyk(59.4%, 42.7%, 0%, 8.2%)
CIE-LABlab(57.48, 16.31, -54.71)
CIE-LCHlch(57.48, 57.09, 286.60°)
OKLaboklab(63.91% -0.0107 -0.1558)
OKLCHoklch(63.91% 0.156 266.1)
XYZxyz(28.0906, 25.4212, 81.2524)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86EA #EAC35F
analogous
#5FCCEA #5F86EA #7D5FEA
triadic
#5F86EA #EA5F86 #86EA5F
tetradic
#5F86EA #EA5FCC #EAC35F #5FEA7D
square
#5F86EA #EA5FCC #EAC35F #5FEA7D
split-complementary
#5F86EA #EA7D5F #CCEA5F
monochromatic
#1844B7 #295DE3 #5F86EA #95AFF1 #CBD8F8

Accessibility & contrast

On white

3.45
#5F86EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5F86EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86EA#FFFFFF#000000##000000
##5F86EA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f86ea;
/* rgb */ color: rgb(95, 134, 234);
/* oklch */ color: oklch(63.9% 0.156 266.1);
Tailwind
colors: {
  custom: {
    50: '#97a8f1',
    500: '#5f86ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f86ea;
$custom-light: #97a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86ea",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 223.165,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63913,
    "c": 0.15622,
    "h": 266.1
  },
  "luminance": 0.25424
}

Semantic roles & 50–950 ramp

primary
#5F86EA
secondary
#EADDBA
accent
#A00CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F86EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5F86EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva