#5F86EE#5F86EE

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

Color values

HEX#5F86EE
RGBrgb(95, 134, 238)
HSLhsl(224, 81%, 65%)
HSVhsv(224, 60%, 93%)
CMYKcmyk(60.1%, 43.7%, 0%, 6.7%)
CIE-LABlab(57.71, 17.63, -56.58)
CIE-LCHlch(57.71, 59.26, 287.31°)
OKLaboklab(64.16% -0.01 -0.1613)
OKLCHoklch(64.16% 0.162 266.4)
XYZxyz(28.6718, 25.6537, 84.3131)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86EE #EEC75F
analogous
#5FCEEE #5F86EE #7F5FEE
triadic
#5F86EE #EE5F86 #86EE5F
tetradic
#5F86EE #EE5FCE #EEC75F #5FEE7F
square
#5F86EE #EE5FCE #EEC75F #5FEE7F
split-complementary
#5F86EE #EE7F5F #CEEE5F
monochromatic
#1443BE #285CE8 #5F86EE #96B0F4 #CEDAFA

Accessibility & contrast

On white

3.43
#5F86EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5F86EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86EE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86EE#FFFFFF#000000##000000
##5F86EE1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f86ee;
/* rgb */ color: rgb(95, 134, 238);
/* oklch */ color: oklch(64.2% 0.162 266.4);
Tailwind
colors: {
  custom: {
    50: '#98a8f4',
    500: '#5f86ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f86ee;
$custom-light: #98a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86ee",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 223.636,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.16164,
    "h": 266.4
  },
  "luminance": 0.25656
}

Semantic roles & 50–950 ramp

primary
#5F86EE
secondary
#ECDFBC
accent
#A308DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F86EE

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

Preview Lab → · Contrast checker → · Palette generator →

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