#5781FA#5781FA

#5781FA is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.186 H 266.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5781FA
RGBrgb(87, 129, 250)
HSLhsl(225, 94%, 66%)
HSVhsv(225, 65%, 98%)
CMYKcmyk(65.2%, 48.4%, 0%, 2%)
CIE-LABlab(56.71, 23.32, -64.84)
CIE-LCHlch(56.71, 68.91, 289.78°)
OKLaboklab(63.52% -0.0107 -0.1858)
OKLCHoklch(63.52% 0.186 266.7)
XYZxyz(29.0301, 24.6261, 93.6474)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781FA #FAD057
analogous
#57D2FA #5781FA #7E57FA
triadic
#5781FA #FA5781 #81FA57
tetradic
#5781FA #FA57D2 #FAD057 #57FA7E
square
#5781FA #FA57D2 #FAD057 #57FA7E
split-complementary
#5781FA #FA7E57 #D2FA57
monochromatic
#063AD0 #1C54F8 #5781FA #92AEFC #CEDAFE

Accessibility & contrast

On white

3.54
#5781FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5781FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781FA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781FA#FFFFFF#000000##000000
##5781FA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#1281F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5781fa;
/* rgb */ color: rgb(87, 129, 250);
/* oklch */ color: oklch(63.5% 0.186 266.7);
Tailwind
colors: {
  custom: {
    50: '#96a5fd',
    500: '#5781fa',
    950: '#000000',
  },
}
SCSS
$custom: #5781fa;
$custom-light: #96a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5781fa",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 224.54,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63516,
    "c": 0.18615,
    "h": 266.7
  },
  "luminance": 0.24629
}

Semantic roles & 50–950 ramp

primary
#5781FA
secondary
#F1E3BC
accent
#AA00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5781FA

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

Preview Lab → · Contrast checker → · Palette generator →

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