#5F85ED#5F85ED

#5F85ED is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.9% C 0.161 H 266.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5F85ED
RGBrgb(95, 133, 237)
HSLhsl(224, 80%, 65%)
HSVhsv(224, 60%, 93%)
CMYKcmyk(59.9%, 43.9%, 0%, 7.1%)
CIE-LABlab(57.39, 17.90, -56.53)
CIE-LCHlch(57.39, 59.30, 287.57°)
OKLaboklab(63.89% -0.0092 -0.1612)
OKLCHoklch(63.89% 0.161 266.7)
XYZxyz(28.3877, 25.3200, 83.4956)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85ED #EDC75F
analogous
#5FCCED #5F85ED #805FED
triadic
#5F85ED #ED5F85 #85ED5F
tetradic
#5F85ED #ED5FCC #EDC75F #5FED80
square
#5F85ED #ED5FCC #EDC75F #5FED80
split-complementary
#5F85ED #ED805F #CCED5F
monochromatic
#1542BC #285BE7 #5F85ED #96AFF3 #CDD9F9

Accessibility & contrast

On white

3.46
#5F85ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5F85ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85ED
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85ED#FFFFFF#000000##000000
##5F85ED1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f85ed;
/* rgb */ color: rgb(95, 133, 237);
/* oklch */ color: oklch(63.9% 0.161 266.7);
Tailwind
colors: {
  custom: {
    50: '#98a8f3',
    500: '#5f85ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f85ed;
$custom-light: #98a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85ed",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 237
  },
  "hsl": {
    "h": 223.944,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63892,
    "c": 0.16148,
    "h": 266.7
  },
  "luminance": 0.25322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F85ED

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

Preview Lab → · Contrast checker → · Palette generator →

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