#5F86EF#5F86EF

#5F86EF is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.2% C 0.163 H 266.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5F86EF
RGBrgb(95, 134, 239)
HSLhsl(224, 82%, 65%)
HSVhsv(224, 60%, 94%)
CMYKcmyk(60.3%, 43.9%, 0%, 6.3%)
CIE-LABlab(57.76, 17.96, -57.04)
CIE-LCHlch(57.76, 59.80, 287.48°)
OKLaboklab(64.22% -0.0098 -0.1627)
OKLCHoklch(64.22% 0.163 266.5)
XYZxyz(28.8191, 25.7126, 85.0889)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86EF #EFC85F
analogous
#5FCEEF #5F86EF #805FEF
triadic
#5F86EF #EF5F86 #86EF5F
tetradic
#5F86EF #EF5FCE #EFC85F #5FEF80
square
#5F86EF #EF5FCE #EFC85F #5FEF80
split-complementary
#5F86EF #EF805F #CEEF5F
monochromatic
#1342C0 #275CE9 #5F86EF #97B0F5 #CEDAFA

Accessibility & contrast

On white

3.42
#5F86EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5F86EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86EF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86EF#FFFFFF#000000##000000
##5F86EF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#3F85ED
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f86ef;
/* rgb */ color: rgb(95, 134, 239);
/* oklch */ color: oklch(64.2% 0.163 266.5);
Tailwind
colors: {
  custom: {
    50: '#98a8f5',
    500: '#5f86ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f86ef;
$custom-light: #98a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86ef",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 223.75,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.16299,
    "h": 266.5
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#5F86EF
secondary
#EDE0BD
accent
#A407DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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