#5F85D7#5F85D7

#5F85D7 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.131 H 264.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F85D7
RGBrgb(95, 133, 215)
HSLhsl(221, 60%, 61%)
HSVhsv(221, 56%, 84%)
CMYKcmyk(55.8%, 38.1%, 0%, 15.7%)
CIE-LABlab(56.20, 10.72, -46.13)
CIE-LCHlch(56.20, 47.36, 283.08°)
OKLaboklab(62.59% -0.0134 -0.1307)
OKLCHoklch(62.59% 0.131 264.2)
XYZxyz(25.3684, 24.1123, 67.5941)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85D7 #D7B15F
analogous
#5FC1D7 #5F85D7 #755FD7
triadic
#5F85D7 #D75F85 #85D75F
tetradic
#5F85D7 #D75FC1 #D7B15F #5FD775
square
#5F85D7 #D75FC1 #D7B15F #5FD775
split-complementary
#5F85D7 #D7755F #C1D75F
monochromatic
#264996 #3261C7 #5F85D7 #90AAE3 #C1D0EF

Accessibility & contrast

On white

3.61
#5F85D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5F85D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85D7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85D7#FFFFFF#000000##000000
##5F85D71.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDA
Deuteranopia (green-blind)
#5482D5
Tritanopia (blue-blind)
#0D97A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f85d7;
/* rgb */ color: rgb(95, 133, 215);
/* oklch */ color: oklch(62.6% 0.131 264.2);
Tailwind
colors: {
  custom: {
    50: '#95a8e4',
    500: '#5f85d7',
    950: '#000000',
  },
}
SCSS
$custom: #5f85d7;
$custom-light: #95a8e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85d7",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 215
  },
  "hsl": {
    "h": 221,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.1314,
    "h": 264.2
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#5F85D7
secondary
#E0D1B2
accent
#921EC8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #5F85D7

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

Preview Lab → · Contrast checker → · Palette generator →

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