#5781FD#5781FD

#5781FD is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.190 H 266.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5781FD
RGBrgb(87, 129, 253)
HSLhsl(225, 98%, 67%)
HSVhsv(225, 66%, 99%)
CMYKcmyk(65.6%, 49%, 0%, 0.8%)
CIE-LABlab(56.90, 24.34, -66.19)
CIE-LCHlch(56.90, 70.53, 290.19°)
OKLaboklab(63.72% -0.0104 -0.1898)
OKLCHoklch(63.72% 0.19 266.9)
XYZxyz(29.5042, 24.8158, 96.1445)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781FD #FDD357
analogous
#57D4FD #5781FD #8057FD
triadic
#5781FD #FD5781 #81FD57
tetradic
#5781FD #FD57D4 #FDD357 #57FD80
square
#5781FD #FD57D4 #FDD357 #57FD80
split-complementary
#5781FD #FD8057 #D4FD57
monochromatic
#0338D7 #1B54FC #5781FD #93AEFE #D0DCFE

Accessibility & contrast

On white

3.52
#5781FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5781FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781FD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781FD#FFFFFF#000000##000000
##5781FD1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5781fd;
/* rgb */ color: rgb(87, 129, 253);
/* oklch */ color: oklch(63.7% 0.190 266.9);
Tailwind
colors: {
  custom: {
    50: '#97a5ff',
    500: '#5781fd',
    950: '#000000',
  },
}
SCSS
$custom: #5781fd;
$custom-light: #97a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5781fd",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 224.819,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.19011,
    "h": 266.9
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#5781FD
secondary
#F3E5BD
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5781FD

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

Preview Lab → · Contrast checker → · Palette generator →

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