#5F86ED#5F86ED

#5F86ED is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.160 H 266.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5F86ED
RGBrgb(95, 134, 237)
HSLhsl(224, 80%, 65%)
HSVhsv(224, 60%, 93%)
CMYKcmyk(59.9%, 43.5%, 0%, 7.1%)
CIE-LABlab(57.65, 17.30, -56.11)
CIE-LCHlch(57.65, 58.72, 287.14°)
OKLaboklab(64.1% -0.0102 -0.16)
OKLCHoklch(64.1% 0.16 266.4)
XYZxyz(28.5253, 25.5951, 83.5415)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F86ED #EDC65F
analogous
#5FCDED #5F86ED #7F5FED
triadic
#5F86ED #ED5F86 #86ED5F
tetradic
#5F86ED #ED5FCD #EDC65F #5FED7F
square
#5F86ED #ED5FCD #EDC65F #5FED7F
split-complementary
#5F86ED #ED7F5F #CDED5F
monochromatic
#1543BC #285CE7 #5F86ED #96B0F3 #CDD9F9

Accessibility & contrast

On white

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

On black

6.12
#5F86ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F86ED
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F86ED#FFFFFF#000000##000000
##5F86ED1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#4284EB
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f86ed;
/* rgb */ color: rgb(95, 134, 237);
/* oklch */ color: oklch(64.1% 0.160 266.4);
Tailwind
colors: {
  custom: {
    50: '#98a8f3',
    500: '#5f86ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f86ed;
$custom-light: #98a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f86ed",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 237
  },
  "hsl": {
    "h": 223.521,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64095,
    "c": 0.16028,
    "h": 266.4
  },
  "luminance": 0.25598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F86ED

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

Preview Lab → · Contrast checker → · Palette generator →

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