#5782F7#5782F7

#5782F7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.181 H 266.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5782F7
RGBrgb(87, 130, 247)
HSLhsl(224, 91%, 65%)
HSVhsv(224, 65%, 97%)
CMYKcmyk(64.8%, 47.4%, 0%, 3.1%)
CIE-LABlab(56.79, 21.69, -63.06)
CIE-LCHlch(56.79, 66.68, 288.98°)
OKLaboklab(63.52% -0.012 -0.1806)
OKLCHoklch(63.52% 0.181 266.2)
XYZxyz(28.6958, 24.7042, 91.2338)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782F7 #F7CC57
analogous
#57D2F7 #5782F7 #7C57F7
triadic
#5782F7 #F75782 #82F757
tetradic
#5782F7 #F757D2 #F7CC57 #57F77C
square
#5782F7 #F757D2 #F7CC57 #57F77C
split-complementary
#5782F7 #F77C57 #D2F757
monochromatic
#0A3DCA #1D57F4 #5782F7 #91ADFA #CCD9FD

Accessibility & contrast

On white

3.53
#5782F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5782F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782F7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782F7#FFFFFF#000000##000000
##5782F71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#2181F5
Tritanopia (blue-blind)
#009DB1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5782f7;
/* rgb */ color: rgb(87, 130, 247);
/* oklch */ color: oklch(63.5% 0.181 266.2);
Tailwind
colors: {
  custom: {
    50: '#96a5fa',
    500: '#5782f7',
    950: '#000000',
  },
}
SCSS
$custom: #5782f7;
$custom-light: #96a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5782f7",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 223.875,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.18098,
    "h": 266.2
  },
  "luminance": 0.24707
}

Semantic roles & 50–950 ramp

primary
#5782F7
secondary
#F0E1BA
accent
#A800E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5782F7

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

Preview Lab → · Contrast checker → · Palette generator →

#5782F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva