#5F85DC#5F85DC

#5F85DC is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.9% C 0.138 H 264.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5F85DC
RGBrgb(95, 133, 220)
HSLhsl(222, 64%, 62%)
HSVhsv(222, 57%, 86%)
CMYKcmyk(56.8%, 39.5%, 0%, 13.7%)
CIE-LABlab(56.46, 12.34, -48.53)
CIE-LCHlch(56.46, 50.07, 284.26°)
OKLaboklab(62.88% -0.0123 -0.1377)
OKLCHoklch(62.88% 0.138 264.9)
XYZxyz(26.0207, 24.3732, 71.0296)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85DC #DCB65F
analogous
#5FC4DC #5F85DC #785FDC
triadic
#5F85DC #DC5F85 #85DC5F
tetradic
#5F85DC #DC5FC4 #DCB65F #5FDC78
square
#5F85DC #DC5FC4 #DCB65F #5FDC78
split-complementary
#5F85DC #DC785F #C4DC5F
monochromatic
#23489E #2E5FD0 #5F85DC #91ABE7 #C3D2F2

Accessibility & contrast

On white

3.57
#5F85DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5F85DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85DC#FFFFFF#000000##000000
##5F85DC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EDF
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f85dc;
/* rgb */ color: rgb(95, 133, 220);
/* oklch */ color: oklch(62.9% 0.138 264.9);
Tailwind
colors: {
  custom: {
    50: '#95a8e7',
    500: '#5f85dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f85dc;
$custom-light: #95a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85dc",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 221.76,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62879,
    "c": 0.13828,
    "h": 264.9
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

primary
#5F85DC
secondary
#E3D4B4
accent
#961ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F85DC

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

Preview Lab → · Contrast checker → · Palette generator →

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