#5F85E7#5F85E7

#5F85E7 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.5% C 0.153 H 266.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5F85E7
RGBrgb(95, 133, 231)
HSLhsl(223, 74%, 64%)
HSVhsv(223, 59%, 91%)
CMYKcmyk(58.9%, 42.4%, 0%, 9.4%)
CIE-LABlab(57.05, 15.93, -53.73)
CIE-LCHlch(57.05, 56.04, 286.51°)
OKLaboklab(63.53% -0.0102 -0.153)
OKLCHoklch(63.53% 0.153 266.2)
XYZxyz(27.5257, 24.9752, 78.9560)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85E7 #E7C15F
analogous
#5FC9E7 #5F85E7 #7D5FE7
triadic
#5F85E7 #E75F85 #85E75F
tetradic
#5F85E7 #E75FC9 #E7C15F #5FE77D
square
#5F85E7 #E75FC9 #E7C15F #5FE77D
split-complementary
#5F85E7 #E77D5F #C9E75F
monochromatic
#1B45B1 #2A5CDF #5F85E7 #94AEEF #C9D6F7

Accessibility & contrast

On white

3.50
#5F85E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5F85E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85E7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85E7#FFFFFF#000000##000000
##5F85E71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EB
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f85e7;
/* rgb */ color: rgb(95, 133, 231);
/* oklch */ color: oklch(63.5% 0.153 266.2);
Tailwind
colors: {
  custom: {
    50: '#97a8ef',
    500: '#5f85e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f85e7;
$custom-light: #97a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85e7",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 223.235,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63527,
    "c": 0.15333,
    "h": 266.2
  },
  "luminance": 0.24977
}

Semantic roles & 50–950 ramp

primary
#5F85E7
secondary
#E9DBB9
accent
#9F0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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