#5785EE#5785EE

#5785EE is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.5% C 0.165 H 264.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5785EE
RGBrgb(87, 133, 238)
HSLhsl(222, 82%, 64%)
HSVhsv(222, 63%, 93%)
CMYKcmyk(63.4%, 44.1%, 0%, 6.7%)
CIE-LABlab(57.05, 16.82, -57.65)
CIE-LCHlch(57.05, 60.06, 286.26°)
OKLaboklab(63.54% -0.0161 -0.1646)
OKLCHoklch(63.54% 0.165 264.4)
XYZxyz(27.7453, 24.9718, 84.2302)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785EE #EEC057
analogous
#57D0EE #5785EE #7457EE
triadic
#5785EE #EE5785 #85EE57
tetradic
#5785EE #EE57D0 #EEC057 #57EE74
square
#5785EE #EE57D0 #EEC057 #57EE74
split-complementary
#5785EE #EE7457 #D0EE57
monochromatic
#1345B8 #1F5DE8 #5785EE #8FADF4 #C6D6F9

Accessibility & contrast

On white

3.50
#5785EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5785EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785EE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785EE#FFFFFF#000000##000000
##5785EE1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#3A82EC
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5785ee;
/* rgb */ color: rgb(87, 133, 238);
/* oklch */ color: oklch(63.5% 0.165 264.4);
Tailwind
colors: {
  custom: {
    50: '#94a8f4',
    500: '#5785ee',
    950: '#000000',
  },
}
SCSS
$custom: #5785ee;
$custom-light: #94a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5785ee",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 221.722,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.16544,
    "h": 264.4
  },
  "luminance": 0.24974
}

Semantic roles & 50–950 ramp

primary
#5785EE
secondary
#EBDBB6
accent
#9D08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5785EE

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

Preview Lab → · Contrast checker → · Palette generator →

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