#5785FD#5785FD

#5785FD is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.5% C 0.185 H 265.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5785FD
RGBrgb(87, 133, 253)
HSLhsl(223, 98%, 67%)
HSVhsv(223, 66%, 99%)
CMYKcmyk(65.6%, 47.4%, 0%, 0.8%)
CIE-LABlab(57.93, 21.91, -64.52)
CIE-LCHlch(57.93, 68.14, 288.76°)
OKLaboklab(64.51% -0.014 -0.1848)
OKLCHoklch(64.51% 0.185 265.7)
XYZxyz(30.0415, 25.8903, 96.3236)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785FD #FDCF57
analogous
#57D8FD #5785FD #7C57FD
triadic
#5785FD #FD5785 #85FD57
tetradic
#5785FD #FD57D8 #FDCF57 #57FD7C
square
#5785FD #FD57D8 #FDCF57 #57FD7C
split-complementary
#5785FD #FD7C57 #D8FD57
monochromatic
#033DD7 #1B59FC #5785FD #93B1FE #D0DDFE

Accessibility & contrast

On white

3.40
#5785FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5785FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785FD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785FD#FFFFFF#000000##000000
##5785FD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#1E84FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5785fd;
/* rgb */ color: rgb(87, 133, 253);
/* oklch */ color: oklch(64.5% 0.185 265.7);
Tailwind
colors: {
  custom: {
    50: '#96a7ff',
    500: '#5785fd',
    950: '#000000',
  },
}
SCSS
$custom: #5785fd;
$custom-light: #96a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5785fd",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 223.373,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64507,
    "c": 0.18538,
    "h": 265.7
  },
  "luminance": 0.25893
}

Semantic roles & 50–950 ramp

primary
#5785FD
secondary
#F3E4BD
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5785FD

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

Preview Lab → · Contrast checker → · Palette generator →

#5785FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva