#5781E5#5781E5

#5781E5 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.2% C 0.158 H 265.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5781E5
RGBrgb(87, 129, 229)
HSLhsl(222, 73%, 62%)
HSVhsv(222, 62%, 90%)
CMYKcmyk(62%, 43.7%, 0%, 10.2%)
CIE-LABlab(55.46, 16.21, -55.17)
CIE-LCHlch(55.46, 57.51, 286.37°)
OKLaboklab(62.16% -0.0137 -0.1574)
OKLCHoklch(62.16% 0.158 265)
XYZxyz(25.9187, 23.3816, 77.2608)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781E5 #E5BB57
analogous
#57C8E5 #5781E5 #7457E5
triadic
#5781E5 #E55781 #81E557
tetradic
#5781E5 #E557C8 #E5BB57 #57E574
square
#5781E5 #E557C8 #E5BB57 #57E574
split-complementary
#5781E5 #E57457 #C8E557
monochromatic
#1A44A8 #2259DD #5781E5 #8CA9ED #C1D0F5

Accessibility & contrast

On white

3.70
#5781E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5781E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781E5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781E5#FFFFFF#000000##000000
##5781E51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5781e5;
/* rgb */ color: rgb(87, 129, 229);
/* oklch */ color: oklch(62.2% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#93a5ee',
    500: '#5781e5',
    950: '#000000',
  },
}
SCSS
$custom: #5781e5;
$custom-light: #93a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5781e5",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 222.254,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62161,
    "c": 0.15802,
    "h": 265
  },
  "luminance": 0.23384
}

Semantic roles & 50–950 ramp

primary
#5781E5
secondary
#E6D7B2
accent
#9B10D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5781E5

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

Preview Lab → · Contrast checker → · Palette generator →

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