#5C81EF#5C81EF

#5C81EF is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.1% C 0.170 H 267.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5C81EF
RGBrgb(92, 129, 239)
HSLhsl(225, 82%, 65%)
HSVhsv(225, 62%, 94%)
CMYKcmyk(61.5%, 46%, 0%, 6.3%)
CIE-LABlab(56.29, 20.45, -59.40)
CIE-LCHlch(56.29, 62.82, 288.99°)
OKLaboklab(63.05% -0.0077 -0.1698)
OKLCHoklch(63.05% 0.17 267.4)
XYZxyz(27.8386, 24.2054, 84.8497)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81EF #EFCA5C
analogous
#5CCBEF #5C81EF #815CEF
triadic
#5C81EF #EF5C81 #81EF5C
tetradic
#5C81EF #EF5CCB #EFCA5C #5CEF81
square
#5C81EF #EF5CCB #EFCA5C #5CEF81
split-complementary
#5C81EF #EF815C #CBEF5C
monochromatic
#133EBE #2456EA #5C81EF #94ACF4 #CBD7FA

Accessibility & contrast

On white

3.59
#5C81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5C81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81EF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81EF#FFFFFF#000000##000000
##5C81EF1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#3281ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5c81ef;
/* rgb */ color: rgb(92, 129, 239);
/* oklch */ color: oklch(63.1% 0.170 267.4);
Tailwind
colors: {
  custom: {
    50: '#97a5f5',
    500: '#5c81ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c81ef;
$custom-light: #97a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81ef",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 224.898,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63051,
    "c": 0.16992,
    "h": 267.4
  },
  "luminance": 0.24208
}

Semantic roles & 50–950 ramp

primary
#5C81EF
secondary
#ECE0BA
accent
#A807DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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