#5785EA#5785EA

#5785EA is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.160 H 264.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5785EA
RGBrgb(87, 133, 234)
HSLhsl(221, 78%, 63%)
HSVhsv(221, 63%, 92%)
CMYKcmyk(62.8%, 43.2%, 0%, 8.2%)
CIE-LABlab(56.82, 15.47, -55.79)
CIE-LCHlch(56.82, 57.90, 285.49°)
OKLaboklab(63.3% -0.0168 -0.1592)
OKLCHoklch(63.3% 0.16 264)
XYZxyz(27.1641, 24.7393, 81.1696)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785EA #EABC57
analogous
#57CFEA #5785EA #7257EA
triadic
#5785EA #EA5785 #85EA57
tetradic
#5785EA #EA57CF #EABC57 #57EA72
square
#5785EA #EA57CF #EABC57 #57EA72
split-complementary
#5785EA #EA7257 #CFEA57
monochromatic
#1646B1 #215DE3 #5785EA #8DADF1 #C4D4F8

Accessibility & contrast

On white

3.53
#5785EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5785EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785EA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785EA#FFFFFF#000000##000000
##5785EA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5785ea;
/* rgb */ color: rgb(87, 133, 234);
/* oklch */ color: oklch(63.3% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#93a8f1',
    500: '#5785ea',
    950: '#000000',
  },
}
SCSS
$custom: #5785ea;
$custom-light: #93a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5785ea",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 221.224,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63297,
    "c": 0.16008,
    "h": 264
  },
  "luminance": 0.24742
}

Semantic roles & 50–950 ramp

primary
#5785EA
secondary
#E9D8B4
accent
#990BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5785EA

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

Preview Lab → · Contrast checker → · Palette generator →

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