#5F86F7#5F86F7

#5F86F7 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.174 H 267.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5F86F7
RGBrgb(95, 134, 247)
HSLhsl(225, 90%, 67%)
HSVhsv(225, 62%, 97%)
CMYKcmyk(61.5%, 45.7%, 0%, 3.1%)
CIE-LABlab(58.22, 20.61, -60.73)
CIE-LCHlch(58.22, 64.13, 288.75°)
OKLaboklab(64.72% -0.0086 -0.1735)
OKLCHoklch(64.72% 0.174 267.1)
XYZxyz(30.0272, 26.1959, 91.4516)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86F7 #F7D05F
analogous
#5FD2F7 #5F86F7 #845FF7
triadic
#5F86F7 #F75F86 #86F75F
tetradic
#5F86F7 #F75FD2 #F7D05F #5FF784
square
#5F86F7 #F75FD2 #F7D05F #5FF784
split-complementary
#5F86F7 #F7845F #D2F75F
monochromatic
#0A3DD1 #255AF4 #5F86F7 #99B2FA #D4DEFD

Accessibility & contrast

On white

3.37
#5F86F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5F86F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86F7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86F7#FFFFFF#000000##000000
##5F86F71.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f86f7;
/* rgb */ color: rgb(95, 134, 247);
/* oklch */ color: oklch(64.7% 0.174 267.1);
Tailwind
colors: {
  custom: {
    50: '#99a8fa',
    500: '#5f86f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f86f7;
$custom-light: #99a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86f7",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 224.605,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64718,
    "c": 0.17374,
    "h": 267.1
  },
  "luminance": 0.26198
}

Semantic roles & 50–950 ramp

primary
#5F86F7
secondary
#F1E5C1
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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