#5781DA#5781DA

#5781DA is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.143 H 263.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5781DA
RGBrgb(87, 129, 218)
HSLhsl(221, 64%, 60%)
HSVhsv(221, 60%, 85%)
CMYKcmyk(60.1%, 40.8%, 0%, 14.5%)
CIE-LABlab(54.85, 12.52, -49.98)
CIE-LCHlch(54.85, 51.53, 284.06°)
OKLaboklab(61.49% -0.0158 -0.1422)
OKLCHoklch(61.49% 0.143 263.7)
XYZxyz(24.4313, 22.7866, 69.4268)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781DA #DAB057
analogous
#57C3DA #5781DA #6E57DA
triadic
#5781DA #DA5781 #81DA57
tetradic
#5781DA #DA57C3 #DAB057 #57DA6E
square
#5781DA #DA57C3 #DAB057 #57DA6E
split-complementary
#5781DA #DA6E57 #C3DA57
monochromatic
#214696 #2C5EC8 #5781DA #89A7E5 #BBCCF0

Accessibility & contrast

On white

3.78
#5781DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5781DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781DA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781DA#FFFFFF#000000##000000
##5781DA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADD
Deuteranopia (green-blind)
#487ED8
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5781da;
/* rgb */ color: rgb(87, 129, 218);
/* oklch */ color: oklch(61.5% 0.143 263.7);
Tailwind
colors: {
  custom: {
    50: '#91a5e6',
    500: '#5781da',
    950: '#000000',
  },
}
SCSS
$custom: #5781da;
$custom-light: #91a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5781da",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 220.763,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61492,
    "c": 0.14306,
    "h": 263.7
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#5781DA
secondary
#E0CFAD
accent
#B241E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5781DA

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

Preview Lab → · Contrast checker → · Palette generator →

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