#5F86FF#5F86FF

#5F86FF is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.184 H 267.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5F86FF
RGBrgb(95, 134, 255)
HSLhsl(225, 100%, 69%)
HSVhsv(225, 63%, 100%)
CMYKcmyk(62.7%, 47.5%, 0%, 0%)
CIE-LABlab(58.70, 23.27, -64.38)
CIE-LCHlch(58.70, 68.45, 289.87°)
OKLaboklab(65.23% -0.0076 -0.1842)
OKLCHoklch(65.23% 0.184 267.6)
XYZxyz(31.2882, 26.7003, 98.0932)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86FF #FFD85F
analogous
#5FD6FF #5F86FF #885FFF
triadic
#5F86FF #FF5F86 #86FF5F
tetradic
#5F86FF #FF5FD6 #FFD85F #5FFF88
square
#5F86FF #FF5FD6 #FFD85F #5FFF88
split-complementary
#5F86FF #FF885F #D6FF5F
monochromatic
#0037E4 #2258FF #5F86FF #9CB4FF #D9E3FF

Accessibility & contrast

On white

3.31
#5F86FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5F86FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86FF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86FF#FFFFFF#000000##000000
##5F86FF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4795FF
Deuteranopia (green-blind)
#2686FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f86ff;
/* rgb */ color: rgb(95, 134, 255);
/* oklch */ color: oklch(65.2% 0.184 267.6);
Tailwind
colors: {
  custom: {
    50: '#9aa8ff',
    500: '#5f86ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f86ff;
$custom-light: #9aa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86ff",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 225.375,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.18441,
    "h": 267.6
  },
  "luminance": 0.26703
}

Semantic roles & 50–950 ramp

primary
#5F86FF
secondary
#F5E9C5
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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