#5C81DF#5C81DF

#5C81DF is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.1% C 0.148 H 266.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5C81DF
RGBrgb(92, 129, 223)
HSLhsl(223, 67%, 62%)
HSVhsv(223, 59%, 87%)
CMYKcmyk(58.7%, 42.2%, 0%, 12.5%)
CIE-LABlab(55.38, 15.13, -51.93)
CIE-LCHlch(55.38, 54.09, 286.25°)
OKLaboklab(62.06% -0.0102 -0.1478)
OKLCHoklch(62.06% 0.148 266)
XYZxyz(25.5786, 23.3014, 72.9474)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81DF #DFBA5C
analogous
#5CC3DF #5C81DF #795CDF
triadic
#5C81DF #DF5C81 #81DF5C
tetradic
#5C81DF #DF5CC3 #DFBA5C #5CDF79
square
#5C81DF #DF5CC3 #DFBA5C #5CDF79
split-complementary
#5C81DF #DF795C #C3DF5C
monochromatic
#2044A1 #2A5AD4 #5C81DF #8FA9E9 #C2D0F3

Accessibility & contrast

On white

3.71
#5C81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5C81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81DF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81DF#FFFFFF#000000##000000
##5C81DF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c81df;
/* rgb */ color: rgb(92, 129, 223);
/* oklch */ color: oklch(62.1% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#94a5e9',
    500: '#5c81df',
    950: '#000000',
  },
}
SCSS
$custom: #5c81df;
$custom-light: #94a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81df",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 223.053,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.14816,
    "h": 266
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#5C81DF
secondary
#E4D6B3
accent
#9B16CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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