#5781EA#5781EA

#5781EA is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.165 H 265.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5781EA
RGBrgb(87, 129, 234)
HSLhsl(223, 78%, 63%)
HSVhsv(223, 63%, 92%)
CMYKcmyk(62.8%, 44.9%, 0%, 8.2%)
CIE-LABlab(55.75, 17.89, -57.50)
CIE-LCHlch(55.75, 60.22, 287.28°)
OKLaboklab(62.48% -0.0129 -0.1643)
OKLCHoklch(62.48% 0.165 265.5)
XYZxyz(26.6269, 23.6649, 80.9905)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781EA #EAC057
analogous
#57CBEA #5781EA #7657EA
triadic
#5781EA #EA5781 #81EA57
tetradic
#5781EA #EA57CB #EAC057 #57EA76
square
#5781EA #EA57CB #EAC057 #57EA76
split-complementary
#5781EA #EA7657 #CBEA57
monochromatic
#1642B1 #2158E3 #5781EA #8DAAF1 #C4D3F8

Accessibility & contrast

On white

3.66
#5781EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5781EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781EA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781EA#FFFFFF#000000##000000
##5781EA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5781ea;
/* rgb */ color: rgb(87, 129, 234);
/* oklch */ color: oklch(62.5% 0.165 265.5);
Tailwind
colors: {
  custom: {
    50: '#93a5f1',
    500: '#5781ea',
    950: '#000000',
  },
}
SCSS
$custom: #5781ea;
$custom-light: #93a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5781ea",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 222.857,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62475,
    "c": 0.16478,
    "h": 265.5
  },
  "luminance": 0.23667
}

Semantic roles & 50–950 ramp

primary
#5781EA
secondary
#E9DAB4
accent
#9F0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5781EA

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

Preview Lab → · Contrast checker → · Palette generator →

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