#5F85EE#5F85EE

#5F85EE is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.0% C 0.163 H 266.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5F85EE
RGBrgb(95, 133, 238)
HSLhsl(224, 81%, 65%)
HSVhsv(224, 60%, 93%)
CMYKcmyk(60.1%, 44.1%, 0%, 6.7%)
CIE-LABlab(57.44, 18.23, -57.00)
CIE-LCHlch(57.44, 59.84, 287.74°)
OKLaboklab(63.95% -0.009 -0.1626)
OKLCHoklch(63.95% 0.163 266.8)
XYZxyz(28.5342, 25.3786, 84.2672)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85EE #EEC85F
analogous
#5FCCEE #5F85EE #805FEE
triadic
#5F85EE #EE5F85 #85EE5F
tetradic
#5F85EE #EE5FCC #EEC85F #5FEE80
square
#5F85EE #EE5FCC #EEC85F #5FEE80
split-complementary
#5F85EE #EE805F #CCEE5F
monochromatic
#1441BE #285BE8 #5F85EE #96AFF4 #CED9FA

Accessibility & contrast

On white

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

On black

6.08
#5F85EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85EE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85EE#FFFFFF#000000##000000
##5F85EE1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f85ee;
/* rgb */ color: rgb(95, 133, 238);
/* oklch */ color: oklch(64.0% 0.163 266.8);
Tailwind
colors: {
  custom: {
    50: '#98a8f4',
    500: '#5f85ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f85ee;
$custom-light: #98a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85ee",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 224.056,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.16283,
    "h": 266.8
  },
  "luminance": 0.25381
}

Semantic roles & 50–950 ramp

primary
#5F85EE
secondary
#ECE0BC
accent
#A508DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F85EE

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

Preview Lab → · Contrast checker → · Palette generator →

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