#5C81F7#5C81F7

#5C81F7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.181 H 267.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5C81F7
RGBrgb(92, 129, 247)
HSLhsl(226, 91%, 66%)
HSVhsv(226, 63%, 97%)
CMYKcmyk(62.8%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.77, 23.12, -63.07)
CIE-LCHlch(56.77, 67.17, 290.13°)
OKLaboklab(63.57% -0.0066 -0.1805)
OKLCHoklch(63.57% 0.181 267.9)
XYZxyz(29.0467, 24.6886, 91.2123)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81F7 #F7D25C
analogous
#5CCFF7 #5C81F7 #855CF7
triadic
#5C81F7 #F75C81 #81F75C
tetradic
#5C81F7 #F75CCF #F7D25C #5CF785
square
#5C81F7 #F75CCF #F7D25C #5CF785
split-complementary
#5C81F7 #F7855C #CFF75C
monochromatic
#0A39CE #2254F4 #5C81F7 #96AEFA #D1DBFD

Accessibility & contrast

On white

3.54
#5C81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5C81F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81F7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81F7#FFFFFF#000000##000000
##5C81F71.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FB
Deuteranopia (green-blind)
#2282F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5c81f7;
/* rgb */ color: rgb(92, 129, 247);
/* oklch */ color: oklch(63.6% 0.181 267.9);
Tailwind
colors: {
  custom: {
    50: '#98a5fa',
    500: '#5c81f7',
    950: '#000000',
  },
}
SCSS
$custom: #5c81f7;
$custom-light: #98a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81f7",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 225.677,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.18065,
    "h": 267.9
  },
  "luminance": 0.24691
}

Semantic roles & 50–950 ramp

primary
#5C81F7
secondary
#F1E5BE
accent
#AF00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C81F7

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

Preview Lab → · Contrast checker → · Palette generator →

#5C81F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva