#5785ED#5785ED

#5785ED is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.164 H 264.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5785ED
RGBrgb(87, 133, 237)
HSLhsl(222, 81%, 64%)
HSVhsv(222, 63%, 93%)
CMYKcmyk(63.3%, 43.9%, 0%, 7.1%)
CIE-LABlab(56.99, 16.48, -57.19)
CIE-LCHlch(56.99, 59.52, 286.08°)
OKLaboklab(63.48% -0.0163 -0.1633)
OKLCHoklch(63.48% 0.164 264.3)
XYZxyz(27.5988, 24.9132, 83.4586)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785ED #EDBF57
analogous
#57D0ED #5785ED #7457ED
triadic
#5785ED #ED5785 #85ED57
tetradic
#5785ED #ED57D0 #EDBF57 #57ED74
square
#5785ED #ED57D0 #EDBF57 #57ED74
split-complementary
#5785ED #ED7457 #D0ED57
monochromatic
#1445B6 #205DE7 #5785ED #8EADF3 #C6D5F9

Accessibility & contrast

On white

3.51
#5785ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5785ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785ED
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785ED#FFFFFF#000000##000000
##5785ED1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#3B82EB
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5785ed;
/* rgb */ color: rgb(87, 133, 237);
/* oklch */ color: oklch(63.5% 0.164 264.3);
Tailwind
colors: {
  custom: {
    50: '#94a8f3',
    500: '#5785ed',
    950: '#000000',
  },
}
SCSS
$custom: #5785ed;
$custom-light: #94a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5785ed",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 237
  },
  "hsl": {
    "h": 221.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.1641,
    "h": 264.3
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#5785ED
secondary
#EADAB5
accent
#9C09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5785ED

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

Preview Lab → · Contrast checker → · Palette generator →

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