#5784F2#5784F2

#5784F2 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.6% C 0.172 H 265.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5784F2
RGBrgb(87, 132, 242)
HSLhsl(223, 86%, 65%)
HSVhsv(223, 64%, 95%)
CMYKcmyk(64%, 45.5%, 0%, 5.1%)
CIE-LABlab(57.01, 18.78, -59.93)
CIE-LCHlch(57.01, 62.80, 287.40°)
OKLaboklab(63.59% -0.0146 -0.1713)
OKLCHoklch(63.59% 0.172 265.1)
XYZxyz(28.2032, 24.9369, 87.3142)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5784F2 #F2C557
analogous
#57D1F2 #5784F2 #7857F2
triadic
#5784F2 #F25784 #84F257
tetradic
#5784F2 #F257D1 #F2C557 #57F278
square
#5784F2 #F257D1 #F2C557 #57F278
split-complementary
#5784F2 #F27857 #D1F257
monochromatic
#0F42C0 #1E5AEE #5784F2 #90AEF6 #C9D7FB

Accessibility & contrast

On white

3.51
#5784F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5784F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5784F2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5784F2#FFFFFF#000000##000000
##5784F21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#3182F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5784f2;
/* rgb */ color: rgb(87, 132, 242);
/* oklch */ color: oklch(63.6% 0.172 265.1);
Tailwind
colors: {
  custom: {
    50: '#95a7f7',
    500: '#5784f2',
    950: '#000000',
  },
}
SCSS
$custom: #5784f2;
$custom-light: #95a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5784f2",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 222.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63594,
    "c": 0.17196,
    "h": 265.1
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5784F2

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

Preview Lab → · Contrast checker → · Palette generator →

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