#5781F7#5781F7

#5781F7 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.182 H 266.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5781F7
RGBrgb(87, 129, 247)
HSLhsl(224, 91%, 65%)
HSVhsv(224, 65%, 97%)
CMYKcmyk(64.8%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.53, 22.30, -63.48)
CIE-LCHlch(56.53, 67.28, 289.36°)
OKLaboklab(63.32% -0.0111 -0.1818)
OKLCHoklch(63.32% 0.182 266.5)
XYZxyz(28.5634, 24.4395, 91.1897)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781F7 #F7CD57
analogous
#57D1F7 #5781F7 #7D57F7
triadic
#5781F7 #F75781 #81F757
tetradic
#5781F7 #F757D1 #F7CD57 #57F77D
square
#5781F7 #F757D1 #F7CD57 #57F77D
split-complementary
#5781F7 #F77D57 #D1F757
monochromatic
#0A3CCA #1D55F4 #5781F7 #91ADFA #CCD9FD

Accessibility & contrast

On white

3.57
#5781F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5781F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781F7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781F7#FFFFFF#000000##000000
##5781F71.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#1C81F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5781f7;
/* rgb */ color: rgb(87, 129, 247);
/* oklch */ color: oklch(63.3% 0.182 266.5);
Tailwind
colors: {
  custom: {
    50: '#96a5fa',
    500: '#5781f7',
    950: '#000000',
  },
}
SCSS
$custom: #5781f7;
$custom-light: #96a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5781f7",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 224.25,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.18217,
    "h": 266.5
  },
  "luminance": 0.24442
}

Semantic roles & 50–950 ramp

primary
#5781F7
secondary
#F0E2BA
accent
#A900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5781F7

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

Preview Lab → · Contrast checker → · Palette generator →

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