#5F85EF#5F85EF

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

Color values

HEX#5F85EF
RGBrgb(95, 133, 239)
HSLhsl(224, 82%, 65%)
HSVhsv(224, 60%, 94%)
CMYKcmyk(60.3%, 44.4%, 0%, 6.3%)
CIE-LABlab(57.50, 18.56, -57.46)
CIE-LCHlch(57.50, 60.39, 287.90°)
OKLaboklab(64.02% -0.0088 -0.1639)
OKLCHoklch(64.02% 0.164 266.9)
XYZxyz(28.6815, 25.4375, 85.0431)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85EF #EFC95F
analogous
#5FCDEF #5F85EF #815FEF
triadic
#5F85EF #EF5F85 #85EF5F
tetradic
#5F85EF #EF5FCD #EFC95F #5FEF81
square
#5F85EF #EF5FCD #EFC95F #5FEF81
split-complementary
#5F85EF #EF815F #CDEF5F
monochromatic
#1341C0 #275BE9 #5F85EF #97AFF5 #CEDAFA

Accessibility & contrast

On white

3.45
#5F85EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5F85EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85EF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85EF#FFFFFF#000000##000000
##5F85EF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f85ef;
/* rgb */ color: rgb(95, 133, 239);
/* oklch */ color: oklch(64.0% 0.164 266.9);
Tailwind
colors: {
  custom: {
    50: '#98a8f5',
    500: '#5f85ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f85ef;
$custom-light: #98a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85ef",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 224.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64016,
    "c": 0.16418,
    "h": 266.9
  },
  "luminance": 0.2544
}

Semantic roles & 50–950 ramp

primary
#5F85EF
secondary
#EDE0BD
accent
#A507DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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