#5F85FF#5F85FF

#5F85FF is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.0% C 0.186 H 267.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5F85FF
RGBrgb(95, 133, 255)
HSLhsl(226, 100%, 69%)
HSVhsv(226, 63%, 100%)
CMYKcmyk(62.7%, 47.8%, 0%, 0%)
CIE-LABlab(58.44, 23.88, -64.79)
CIE-LCHlch(58.44, 69.05, 290.23°)
OKLaboklab(65.04% -0.0066 -0.1855)
OKLCHoklch(65.04% 0.186 267.9)
XYZxyz(31.1507, 26.4252, 98.0473)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85FF #FFD95F
analogous
#5FD5FF #5F85FF #895FFF
triadic
#5F85FF #FF5F85 #85FF5F
tetradic
#5F85FF #FF5FD5 #FFD95F #5FFF89
square
#5F85FF #FF5FD5 #FFD95F #5FFF89
split-complementary
#5F85FF #FF895F #D5FF5F
monochromatic
#0036E4 #2256FF #5F85FF #9CB4FF #D9E2FF

Accessibility & contrast

On white

3.34
#5F85FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5F85FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85FF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85FF#FFFFFF#000000##000000
##5F85FF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#2286FC
Tritanopia (blue-blind)
#00A1B6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f85ff;
/* rgb */ color: rgb(95, 133, 255);
/* oklch */ color: oklch(65.0% 0.186 267.9);
Tailwind
colors: {
  custom: {
    50: '#9aa8ff',
    500: '#5f85ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f85ff;
$custom-light: #9aa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85ff",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 255
  },
  "hsl": {
    "h": 225.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.1856,
    "h": 267.9
  },
  "luminance": 0.26428
}

Semantic roles & 50–950 ramp

primary
#5F85FF
secondary
#F5E9C5
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F85FF

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

Preview Lab → · Contrast checker → · Palette generator →

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