#5F86E1#5F86E1

#5F86E1 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.144 H 265.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5F86E1
RGBrgb(95, 134, 225)
HSLhsl(222, 68%, 63%)
HSVhsv(222, 58%, 88%)
CMYKcmyk(57.8%, 40.4%, 0%, 11.8%)
CIE-LABlab(56.99, 13.36, -50.47)
CIE-LCHlch(56.99, 52.21, 284.83°)
OKLaboklab(63.38% -0.0124 -0.1434)
OKLCHoklch(63.38% 0.144 265.1)
XYZxyz(26.8304, 24.9171, 74.6152)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86E1 #E1BA5F
analogous
#5FC7E1 #5F86E1 #795FE1
triadic
#5F86E1 #E15F86 #86E15F
tetradic
#5F86E1 #E15FC7 #E1BA5F #5FE179
square
#5F86E1 #E15FC7 #E1BA5F #5FE179
split-complementary
#5F86E1 #E1795F #C7E15F
monochromatic
#1F48A6 #2B5FD7 #5F86E1 #93ADEB #C6D4F4

Accessibility & contrast

On white

3.51
#5F86E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5F86E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86E1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86E1#FFFFFF#000000##000000
##5F86E11.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8FE5
Deuteranopia (green-blind)
#4E83DF
Tritanopia (blue-blind)
#009AA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f86e1;
/* rgb */ color: rgb(95, 134, 225);
/* oklch */ color: oklch(63.4% 0.144 265.1);
Tailwind
colors: {
  custom: {
    50: '#96a8eb',
    500: '#5f86e1',
    950: '#000000',
  },
}
SCSS
$custom: #5f86e1;
$custom-light: #96a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86e1",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 225
  },
  "hsl": {
    "h": 222,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.14396,
    "h": 265.1
  },
  "luminance": 0.24919
}

Semantic roles & 50–950 ramp

primary
#5F86E1
secondary
#E5D7B6
accent
#9815D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F86E1

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

Preview Lab → · Contrast checker → · Palette generator →

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