#5782EF#5782EF

#5782EF is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.0% C 0.170 H 265.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5782EF
RGBrgb(87, 130, 239)
HSLhsl(223, 83%, 64%)
HSVhsv(223, 64%, 94%)
CMYKcmyk(63.6%, 45.6%, 0%, 6.3%)
CIE-LABlab(56.31, 18.98, -59.39)
CIE-LCHlch(56.31, 62.35, 287.72°)
OKLaboklab(63% -0.0131 -0.1698)
OKLCHoklch(63% 0.17 265.6)
XYZxyz(27.4877, 24.2210, 84.8711)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782EF #EFC457
analogous
#57CEEF #5782EF #7857EF
triadic
#5782EF #EF5782 #82EF57
tetradic
#5782EF #EF57CE #EFC457 #57EF78
square
#5782EF #EF57CE #EFC457 #57EF78
split-complementary
#5782EF #EF7857 #CEEF57
monochromatic
#1241BA #1F58EA #5782EF #8FACF4 #C7D5FA

Accessibility & contrast

On white

3.59
#5782EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5782EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782EF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782EF#FFFFFF#000000##000000
##5782EF1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#3181ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5782ef;
/* rgb */ color: rgb(87, 130, 239);
/* oklch */ color: oklch(63.0% 0.170 265.6);
Tailwind
colors: {
  custom: {
    50: '#94a5f5',
    500: '#5782ef',
    950: '#000000',
  },
}
SCSS
$custom: #5782ef;
$custom-light: #94a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5782ef",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 223.026,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62996,
    "c": 0.17031,
    "h": 265.6
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#5782EF
secondary
#ECDCB6
accent
#A206DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5782EF

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

Preview Lab → · Contrast checker → · Palette generator →

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