#5785E5#5785E5

#5785E5 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.153 H 263.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5785E5
RGBrgb(87, 133, 229)
HSLhsl(221, 73%, 62%)
HSVhsv(221, 62%, 90%)
CMYKcmyk(62%, 41.9%, 0%, 10.2%)
CIE-LABlab(56.54, 13.78, -53.45)
CIE-LCHlch(56.54, 55.20, 284.46°)
OKLaboklab(62.99% -0.0177 -0.1523)
OKLCHoklch(62.99% 0.153 263.4)
XYZxyz(26.4559, 24.4561, 77.4398)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785E5 #E5B757
analogous
#57CCE5 #5785E5 #7057E5
triadic
#5785E5 #E55785 #85E557
tetradic
#5785E5 #E557CC #E5B757 #57E570
square
#5785E5 #E557CC #E5B757 #57E570
split-complementary
#5785E5 #E57057 #CCE557
monochromatic
#1A48A8 #225FDD #5785E5 #8CABED #C1D2F5

Accessibility & contrast

On white

3.56
#5785E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5785E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785E5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785E5#FFFFFF#000000##000000
##5785E51.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FE9
Deuteranopia (green-blind)
#4482E3
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5785e5;
/* rgb */ color: rgb(87, 133, 229);
/* oklch */ color: oklch(63.0% 0.153 263.4);
Tailwind
colors: {
  custom: {
    50: '#93a8ee',
    500: '#5785e5',
    950: '#000000',
  },
}
SCSS
$custom: #5785e5;
$custom-light: #93a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5785e5",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 229
  },
  "hsl": {
    "h": 220.563,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62991,
    "c": 0.15335,
    "h": 263.4
  },
  "luminance": 0.24458
}

Semantic roles & 50–950 ramp

primary
#5785E5
secondary
#E6D5B2
accent
#9510D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5785E5

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

Preview Lab → · Contrast checker → · Palette generator →

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