#5781E9#5781E9

#5781E9 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.4% C 0.163 H 265.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5781E9
RGBrgb(87, 129, 233)
HSLhsl(223, 77%, 63%)
HSVhsv(223, 63%, 91%)
CMYKcmyk(62.7%, 44.6%, 0%, 8.6%)
CIE-LABlab(55.69, 17.55, -57.04)
CIE-LCHlch(55.69, 59.68, 287.11°)
OKLaboklab(62.41% -0.0131 -0.1629)
OKLCHoklch(62.41% 0.163 265.4)
XYZxyz(26.4836, 23.6076, 80.2360)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781E9 #E9BF57
analogous
#57CAE9 #5781E9 #7657E9
triadic
#5781E9 #E95781 #81E957
tetradic
#5781E9 #E957CA #E9BF57 #57E976
square
#5781E9 #E957CA #E9BF57 #57E976
split-complementary
#5781E9 #E97657 #CAE957
monochromatic
#1743AF #2158E2 #5781E9 #8DAAF0 #C3D2F7

Accessibility & contrast

On white

3.67
#5781E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5781E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781E9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781E9#FFFFFF#000000##000000
##5781E91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DED
Deuteranopia (green-blind)
#377FE7
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5781e9;
/* rgb */ color: rgb(87, 129, 233);
/* oklch */ color: oklch(62.4% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#93a5f0',
    500: '#5781e9',
    950: '#000000',
  },
}
SCSS
$custom: #5781e9;
$custom-light: #93a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5781e9",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 222.74,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.16343,
    "h": 265.4
  },
  "luminance": 0.2361
}

Semantic roles & 50–950 ramp

primary
#5781E9
secondary
#E8D9B3
accent
#9E0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5781E9

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

Preview Lab → · Contrast checker → · Palette generator →

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