#5F86FD#5F86FD

#5F86FD is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.1% C 0.182 H 267.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F86FD
RGBrgb(95, 134, 253)
HSLhsl(225, 98%, 68%)
HSVhsv(225, 62%, 99%)
CMYKcmyk(62.5%, 47%, 0%, 0.8%)
CIE-LABlab(58.58, 22.61, -63.47)
CIE-LCHlch(58.58, 67.37, 289.60°)
OKLaboklab(65.1% -0.0078 -0.1816)
OKLCHoklch(65.1% 0.182 267.5)
XYZxyz(30.9680, 26.5722, 96.4064)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86FD #FDD65F
analogous
#5FD5FD #5F86FD #875FFD
triadic
#5F86FD #FD5F86 #86FD5F
tetradic
#5F86FD #FD5FD5 #FDD65F #5FFD87
square
#5F86FD #FD5FD5 #FDD65F #5FFD87
split-complementary
#5F86FD #FD875F #D5FD5F
monochromatic
#0339DF #2358FC #5F86FD #9BB4FE #D8E1FF

Accessibility & contrast

On white

3.33
#5F86FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5F86FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86FD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86FD#FFFFFF#000000##000000
##5F86FD1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f86fd;
/* rgb */ color: rgb(95, 134, 253);
/* oklch */ color: oklch(65.1% 0.182 267.5);
Tailwind
colors: {
  custom: {
    50: '#9aa8ff',
    500: '#5f86fd',
    950: '#000000',
  },
}
SCSS
$custom: #5f86fd;
$custom-light: #9aa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86fd",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 225.19,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65102,
    "c": 0.18176,
    "h": 267.5
  },
  "luminance": 0.26575
}

Semantic roles & 50–950 ramp

primary
#5F86FD
secondary
#F4E8C4
accent
#AD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F86FD

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

Preview Lab → · Contrast checker → · Palette generator →

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