#5785DF#5785DF

#5785DF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.145 H 262.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5785DF
RGBrgb(87, 133, 223)
HSLhsl(220, 68%, 61%)
HSVhsv(220, 61%, 87%)
CMYKcmyk(61%, 40.4%, 0%, 12.5%)
CIE-LABlab(56.21, 11.77, -50.62)
CIE-LCHlch(56.21, 51.97, 283.09°)
OKLaboklab(62.63% -0.0189 -0.144)
OKLCHoklch(62.63% 0.145 262.5)
XYZxyz(25.6327, 24.1267, 73.1039)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785DF #DFB157
analogous
#57C9DF #5785DF #6D57DF
triadic
#5785DF #DF5785 #85DF57
tetradic
#5785DF #DF57C9 #DFB157 #57DF6D
square
#5785DF #DF57C9 #DFB157 #57DF6D
split-complementary
#5785DF #DF6D57 #C9DF57
monochromatic
#1E499E #2861D1 #5785DF #8AAAE9 #BED0F3

Accessibility & contrast

On white

3.60
#5785DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5785DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785DF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785DF#FFFFFF#000000##000000
##5785DF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE3
Deuteranopia (green-blind)
#4A81DD
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5785df;
/* rgb */ color: rgb(87, 133, 223);
/* oklch */ color: oklch(62.6% 0.145 262.5);
Tailwind
colors: {
  custom: {
    50: '#92a8e9',
    500: '#5785df',
    950: '#000000',
  },
}
SCSS
$custom: #5785df;
$custom-light: #92a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5785df",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 219.706,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.14524,
    "h": 262.5
  },
  "luminance": 0.24129
}

Semantic roles & 50–950 ramp

primary
#5785DF
secondary
#E3D1AF
accent
#9116D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5785DF

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

Preview Lab → · Contrast checker → · Palette generator →

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