#5F86EB#5F86EB

#5F86EB is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.158 H 266.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5F86EB
RGBrgb(95, 134, 235)
HSLhsl(223, 78%, 65%)
HSVhsv(223, 60%, 92%)
CMYKcmyk(59.6%, 43%, 0%, 7.8%)
CIE-LABlab(57.54, 16.64, -55.18)
CIE-LCHlch(57.54, 57.63, 286.78°)
OKLaboklab(63.97% -0.0105 -0.1572)
OKLCHoklch(63.97% 0.158 266.2)
XYZxyz(28.2347, 25.4789, 82.0112)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86EB #EBC45F
analogous
#5FCCEB #5F86EB #7E5FEB
triadic
#5F86EB #EB5F86 #86EB5F
tetradic
#5F86EB #EB5FCC #EBC45F #5FEB7E
square
#5F86EB #EB5FCC #EBC45F #5FEB7E
split-complementary
#5F86EB #EB7E5F #CCEB5F
monochromatic
#1744B9 #295DE4 #5F86EB #95AFF2 #CCD8F9

Accessibility & contrast

On white

3.44
#5F86EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5F86EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86EB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86EB#FFFFFF#000000##000000
##5F86EB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f86eb;
/* rgb */ color: rgb(95, 134, 235);
/* oklch */ color: oklch(64.0% 0.158 266.2);
Tailwind
colors: {
  custom: {
    50: '#97a8f2',
    500: '#5f86eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f86eb;
$custom-light: #97a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86eb",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 223.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63974,
    "c": 0.15757,
    "h": 266.2
  },
  "luminance": 0.25481
}

Semantic roles & 50–950 ramp

primary
#5F86EB
secondary
#EBDEBB
accent
#A00BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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