#5785E7#5785E7

#5785E7 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.1% C 0.156 H 263.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5785E7
RGBrgb(87, 133, 231)
HSLhsl(221, 75%, 62%)
HSVhsv(221, 62%, 91%)
CMYKcmyk(62.3%, 42.4%, 0%, 9.4%)
CIE-LABlab(56.65, 14.46, -54.39)
CIE-LCHlch(56.65, 56.28, 284.88°)
OKLaboklab(63.11% -0.0174 -0.1551)
OKLCHoklch(63.11% 0.156 263.6)
XYZxyz(26.7368, 24.5684, 78.9190)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785E7 #E7B957
analogous
#57CDE7 #5785E7 #7157E7
triadic
#5785E7 #E75785 #85E757
tetradic
#5785E7 #E757CD #E7B957 #57E771
square
#5785E7 #E757CD #E7B957 #57E771
split-complementary
#5785E7 #E77157 #CDE757
monochromatic
#1847AB #215EDF #5785E7 #8DACEF #C2D3F6

Accessibility & contrast

On white

3.55
#5785E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5785E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785E7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785E7#FFFFFF#000000##000000
##5785E71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5785e7;
/* rgb */ color: rgb(87, 133, 231);
/* oklch */ color: oklch(63.1% 0.156 263.6);
Tailwind
colors: {
  custom: {
    50: '#93a8ef',
    500: '#5785e7',
    950: '#000000',
  },
}
SCSS
$custom: #5785e7;
$custom-light: #93a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5785e7",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 220.833,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.15604,
    "h": 263.6
  },
  "luminance": 0.24571
}

Semantic roles & 50–950 ramp

primary
#5785E7
secondary
#E7D6B3
accent
#970ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5785E7

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

Preview Lab → · Contrast checker → · Palette generator →

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