#5781EE#5781EE

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

Color values

HEX#5781EE
RGBrgb(87, 129, 238)
HSLhsl(223, 82%, 64%)
HSVhsv(223, 63%, 93%)
CMYKcmyk(63.4%, 45.8%, 0%, 6.7%)
CIE-LABlab(55.98, 19.25, -59.36)
CIE-LCHlch(55.98, 62.40, 287.97°)
OKLaboklab(62.73% -0.0123 -0.1697)
OKLCHoklch(62.73% 0.17 265.8)
XYZxyz(27.2080, 23.8973, 84.0511)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781EE #EEC457
analogous
#57CDEE #5781EE #7857EE
triadic
#5781EE #EE5781 #81EE57
tetradic
#5781EE #EE57CD #EEC457 #57EE78
square
#5781EE #EE57CD #EEC457 #57EE78
split-complementary
#5781EE #EE7857 #CDEE57
monochromatic
#1341B8 #1F57E8 #5781EE #8FABF4 #C6D4F9

Accessibility & contrast

On white

3.63
#5781EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5781EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781EE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781EE#FFFFFF#000000##000000
##5781EE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF2
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5781ee;
/* rgb */ color: rgb(87, 129, 238);
/* oklch */ color: oklch(62.7% 0.170 265.8);
Tailwind
colors: {
  custom: {
    50: '#94a5f4',
    500: '#5781ee',
    950: '#000000',
  },
}
SCSS
$custom: #5781ee;
$custom-light: #94a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5781ee",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 223.311,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.17016,
    "h": 265.8
  },
  "luminance": 0.239
}

Semantic roles & 50–950 ramp

primary
#5781EE
secondary
#EBDCB6
accent
#A208DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5781EE

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

Preview Lab → · Contrast checker → · Palette generator →

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