#5F86E8#5F86E8

#5F86E8 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.153 H 265.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5F86E8
RGBrgb(95, 134, 232)
HSLhsl(223, 75%, 64%)
HSVhsv(223, 59%, 91%)
CMYKcmyk(59.1%, 42.2%, 0%, 9%)
CIE-LABlab(57.37, 15.65, -53.78)
CIE-LCHlch(57.37, 56.01, 286.23°)
OKLaboklab(63.79% -0.011 -0.1531)
OKLCHoklch(63.79% 0.154 265.9)
XYZxyz(27.8049, 25.3070, 79.7478)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86E8 #E8C15F
analogous
#5FCAE8 #5F86E8 #7D5FE8
triadic
#5F86E8 #E85F86 #86E85F
tetradic
#5F86E8 #E85FCA #E8C15F #5FE87D
square
#5F86E8 #E85FCA #E8C15F #5FE87D
split-complementary
#5F86E8 #E87D5F #CAE85F
monochromatic
#1A45B3 #295EE0 #5F86E8 #95AEF0 #CAD7F7

Accessibility & contrast

On white

3.46
#5F86E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5F86E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86E8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86E8#FFFFFF#000000##000000
##5F86E81.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#4784E6
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f86e8;
/* rgb */ color: rgb(95, 134, 232);
/* oklch */ color: oklch(63.8% 0.153 265.9);
Tailwind
colors: {
  custom: {
    50: '#97a8f0',
    500: '#5f86e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f86e8;
$custom-light: #97a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86e8",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 222.92,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63792,
    "c": 0.1535,
    "h": 265.9
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#5F86E8
secondary
#E9DCBA
accent
#9E0ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F86E8

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

Preview Lab → · Contrast checker → · Palette generator →

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