#5F86DF#5F86DF

#5F86DF is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.141 H 264.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5F86DF
RGBrgb(95, 134, 223)
HSLhsl(222, 67%, 62%)
HSVhsv(222, 57%, 87%)
CMYKcmyk(57.4%, 39.9%, 0%, 12.5%)
CIE-LABlab(56.89, 12.71, -49.52)
CIE-LCHlch(56.89, 51.13, 284.39°)
OKLaboklab(63.26% -0.0128 -0.1406)
OKLCHoklch(63.26% 0.141 264.8)
XYZxyz(26.5592, 24.8087, 73.1867)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86DF #DFB85F
analogous
#5FC6DF #5F86DF #785FDF
triadic
#5F86DF #DF5F86 #86DF5F
tetradic
#5F86DF #DF5FC6 #DFB85F #5FDF78
square
#5F86DF #DF5FC6 #DFB85F #5FDF78
split-complementary
#5F86DF #DF785F #C6DF5F
monochromatic
#2148A3 #2C5FD5 #5F86DF #92ADE9 #C5D3F3

Accessibility & contrast

On white

3.52
#5F86DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5F86DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86DF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86DF#FFFFFF#000000##000000
##5F86DF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE3
Deuteranopia (green-blind)
#4F83DD
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f86df;
/* rgb */ color: rgb(95, 134, 223);
/* oklch */ color: oklch(63.3% 0.141 264.8);
Tailwind
colors: {
  custom: {
    50: '#96a8e9',
    500: '#5f86df',
    950: '#000000',
  },
}
SCSS
$custom: #5f86df;
$custom-light: #96a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86df",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 221.719,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.14122,
    "h": 264.8
  },
  "luminance": 0.24811
}

Semantic roles & 50–950 ramp

primary
#5F86DF
secondary
#E4D6B6
accent
#9717CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F86DF

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

Preview Lab → · Contrast checker → · Palette generator →

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