#5781E8#5781E8

#5781E8 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.3% C 0.162 H 265.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5781E8
RGBrgb(87, 129, 232)
HSLhsl(223, 76%, 63%)
HSVhsv(223, 63%, 91%)
CMYKcmyk(62.5%, 44.4%, 0%, 9%)
CIE-LABlab(55.63, 17.22, -56.57)
CIE-LCHlch(55.63, 59.14, 286.93°)
OKLaboklab(62.35% -0.0132 -0.1615)
OKLCHoklch(62.35% 0.162 265.3)
XYZxyz(26.3412, 23.5506, 79.4858)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781E8 #E8BE57
analogous
#57C9E8 #5781E8 #7657E8
triadic
#5781E8 #E85781 #81E857
tetradic
#5781E8 #E857C9 #E8BE57 #57E876
square
#5781E8 #E857C9 #E8BE57 #57E876
split-complementary
#5781E8 #E87657 #C9E857
monochromatic
#1843AD #2159E1 #5781E8 #8DA9EF #C3D2F7

Accessibility & contrast

On white

3.68
#5781E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5781E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781E8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781E8#FFFFFF#000000##000000
##5781E81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5781e8;
/* rgb */ color: rgb(87, 129, 232);
/* oklch */ color: oklch(62.3% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#93a5f0',
    500: '#5781e8',
    950: '#000000',
  },
}
SCSS
$custom: #5781e8;
$custom-light: #93a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5781e8",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 222.621,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62349,
    "c": 0.16208,
    "h": 265.3
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#5781E8
secondary
#E8D8B3
accent
#9D0DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5781E8

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

Preview Lab → · Contrast checker → · Palette generator →

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