#5781ED#5781ED

#5781ED is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.169 H 265.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5781ED
RGBrgb(87, 129, 237)
HSLhsl(223, 81%, 64%)
HSVhsv(223, 63%, 93%)
CMYKcmyk(63.3%, 45.6%, 0%, 7.1%)
CIE-LABlab(55.93, 18.91, -58.89)
CIE-LCHlch(55.93, 61.85, 287.80°)
OKLaboklab(62.67% -0.0125 -0.1683)
OKLCHoklch(62.67% 0.169 265.8)
XYZxyz(27.0615, 23.8387, 83.2796)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781ED #EDC357
analogous
#57CCED #5781ED #7857ED
triadic
#5781ED #ED5781 #81ED57
tetradic
#5781ED #ED57CC #EDC357 #57ED78
square
#5781ED #ED57CC #EDC357 #57ED78
split-complementary
#5781ED #ED7857 #CCED57
monochromatic
#1441B6 #2058E7 #5781ED #8EAAF3 #C6D4F9

Accessibility & contrast

On white

3.64
#5781ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5781ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781ED
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781ED#FFFFFF#000000##000000
##5781ED1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#3180EB
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5781ed;
/* rgb */ color: rgb(87, 129, 237);
/* oklch */ color: oklch(62.7% 0.169 265.8);
Tailwind
colors: {
  custom: {
    50: '#94a5f3',
    500: '#5781ed',
    950: '#000000',
  },
}
SCSS
$custom: #5781ed;
$custom-light: #94a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5781ed",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 223.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.16881,
    "h": 265.8
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#5781ED
secondary
#EADCB5
accent
#A109DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5781ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5781ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva