#5785E2#5785E2

#5785E2 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.149 H 263.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5785E2
RGBrgb(87, 133, 226)
HSLhsl(220, 71%, 61%)
HSVhsv(220, 62%, 89%)
CMYKcmyk(61.5%, 41.2%, 0%, 11.4%)
CIE-LABlab(56.38, 12.77, -52.04)
CIE-LCHlch(56.38, 53.59, 283.79°)
OKLaboklab(62.81% -0.0183 -0.1482)
OKLCHoklch(62.81% 0.149 263)
XYZxyz(26.0407, 24.2900, 75.2529)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785E2 #E2B457
analogous
#57CBE2 #5785E2 #6F57E2
triadic
#5785E2 #E25785 #85E257
tetradic
#5785E2 #E257CB #E2B457 #57E26F
square
#5785E2 #E257CB #E2B457 #57E26F
split-complementary
#5785E2 #E26F57 #CBE257
monochromatic
#1C49A3 #2560D7 #5785E2 #8BABEB #BFD1F4

Accessibility & contrast

On white

3.58
#5785E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5785E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785E2#FFFFFF#000000##000000
##5785E21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#4781E0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5785e2;
/* rgb */ color: rgb(87, 133, 226);
/* oklch */ color: oklch(62.8% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#92a8eb',
    500: '#5785e2',
    950: '#000000',
  },
}
SCSS
$custom: #5785e2;
$custom-light: #92a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5785e2",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 220.144,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.1493,
    "h": 263
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#5785E2
secondary
#E4D3B0
accent
#9313D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5785E2

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

Preview Lab → · Contrast checker → · Palette generator →

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