#5C81F8#5C81F8

#5C81F8 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.182 H 268.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5C81F8
RGBrgb(92, 129, 248)
HSLhsl(226, 92%, 67%)
HSVhsv(226, 63%, 97%)
CMYKcmyk(62.9%, 48%, 0%, 2.7%)
CIE-LABlab(56.83, 23.46, -63.52)
CIE-LCHlch(56.83, 67.72, 290.27°)
OKLaboklab(63.64% -0.0065 -0.1819)
OKLCHoklch(63.64% 0.182 268)
XYZxyz(29.2014, 24.7505, 92.0272)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81F8 #F8D35C
analogous
#5CCFF8 #5C81F8 #855CF8
triadic
#5C81F8 #F85C81 #81F85C
tetradic
#5C81F8 #F85CCF #F8D35C #5CF885
square
#5C81F8 #F85CCF #F8D35C #5CF885
split-complementary
#5C81F8 #F8855C #CFF85C
monochromatic
#0938D1 #2154F5 #5C81F8 #97AEFB #D1DCFD

Accessibility & contrast

On white

3.53
#5C81F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5C81F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81F8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81F8#FFFFFF#000000##000000
##5C81F81.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FC
Deuteranopia (green-blind)
#2082F6
Tritanopia (blue-blind)
#009CB1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5c81f8;
/* rgb */ color: rgb(92, 129, 248);
/* oklch */ color: oklch(63.6% 0.182 268.0);
Tailwind
colors: {
  custom: {
    50: '#98a5fb',
    500: '#5c81f8',
    950: '#000000',
  },
}
SCSS
$custom: #5c81f8;
$custom-light: #98a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81f8",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 225.769,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.18199,
    "h": 268
  },
  "luminance": 0.24753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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