#5F85EB#5F85EB

#5F85EB is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.8% C 0.159 H 266.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5F85EB
RGBrgb(95, 133, 235)
HSLhsl(224, 78%, 65%)
HSVhsv(224, 60%, 92%)
CMYKcmyk(59.6%, 43.4%, 0%, 7.8%)
CIE-LABlab(57.27, 17.24, -55.60)
CIE-LCHlch(57.27, 58.22, 287.23°)
OKLaboklab(63.77% -0.0095 -0.1585)
OKLCHoklch(63.77% 0.159 266.6)
XYZxyz(28.0971, 25.2037, 81.9653)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85EB #EBC55F
analogous
#5FCBEB #5F85EB #7F5FEB
triadic
#5F85EB #EB5F85 #85EB5F
tetradic
#5F85EB #EB5FCB #EBC55F #5FEB7F
square
#5F85EB #EB5FCB #EBC55F #5FEB7F
split-complementary
#5F85EB #EB7F5F #CBEB5F
monochromatic
#1743B9 #295CE4 #5F85EB #95AEF2 #CCD8F9

Accessibility & contrast

On white

3.48
#5F85EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5F85EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85EB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85EB#FFFFFF#000000##000000
##5F85EB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#4284E9
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f85eb;
/* rgb */ color: rgb(95, 133, 235);
/* oklch */ color: oklch(63.8% 0.159 266.6);
Tailwind
colors: {
  custom: {
    50: '#97a8f2',
    500: '#5f85eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f85eb;
$custom-light: #97a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85eb",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 223.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6377,
    "c": 0.15876,
    "h": 266.6
  },
  "luminance": 0.25206
}

Semantic roles & 50–950 ramp

primary
#5F85EB
secondary
#EBDEBB
accent
#A20BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F85EB

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

Preview Lab → · Contrast checker → · Palette generator →

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