#5782F2#5782F2

#5782F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.174 H 265.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5782F2
RGBrgb(87, 130, 242)
HSLhsl(223, 86%, 65%)
HSVhsv(223, 64%, 95%)
CMYKcmyk(64%, 46.3%, 0%, 5.1%)
CIE-LABlab(56.49, 19.99, -60.77)
CIE-LCHlch(56.49, 63.98, 288.21°)
OKLaboklab(63.19% -0.0127 -0.1739)
OKLCHoklch(63.19% 0.174 265.8)
XYZxyz(27.9346, 24.3997, 87.2247)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782F2 #F2C757
analogous
#57CFF2 #5782F2 #7A57F2
triadic
#5782F2 #F25782 #82F257
tetradic
#5782F2 #F257CF #F2C757 #57F27A
square
#5782F2 #F257CF #F2C757 #57F27A
split-complementary
#5782F2 #F27A57 #CFF257
monochromatic
#0F40C0 #1E58EE #5782F2 #90ACF6 #C9D7FB

Accessibility & contrast

On white

3.57
#5782F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5782F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782F2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782F2#FFFFFF#000000##000000
##5782F21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#2C81F0
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5782f2;
/* rgb */ color: rgb(87, 130, 242);
/* oklch */ color: oklch(63.2% 0.174 265.8);
Tailwind
colors: {
  custom: {
    50: '#95a5f7',
    500: '#5782f2',
    950: '#000000',
  },
}
SCSS
$custom: #5782f2;
$custom-light: #95a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5782f2",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 223.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.17432,
    "h": 265.8
  },
  "luminance": 0.24402
}

Semantic roles & 50–950 ramp

primary
#5782F2
secondary
#EDDEB8
accent
#A403E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5782F2

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

Preview Lab → · Contrast checker → · Palette generator →

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