#5C8AF5#5C8AF5

#5C8AF5 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.2% C 0.167 H 264.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5C8AF5
RGBrgb(92, 138, 245)
HSLhsl(222, 88%, 66%)
HSVhsv(222, 62%, 96%)
CMYKcmyk(62.4%, 43.7%, 0%, 3.9%)
CIE-LABlab(59.01, 17.02, -58.37)
CIE-LCHlch(59.01, 60.80, 286.25°)
OKLaboklab(65.25% -0.0155 -0.1666)
OKLCHoklch(65.25% 0.167 264.7)
XYZxyz(29.9778, 27.0421, 90.0083)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8AF5 #F5C75C
analogous
#5CD6F5 #5C8AF5 #7A5CF5
triadic
#5C8AF5 #F55C8A #8AF55C
tetradic
#5C8AF5 #F55CD6 #F5C75C #5CF57A
square
#5C8AF5 #F55CD6 #F5C75C #5CF57A
split-complementary
#5C8AF5 #F57A5C #D6F55C
monochromatic
#0C45CA #2261F1 #5C8AF5 #96B3F9 #CFDDFC

Accessibility & contrast

On white

3.28
#5C8AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5C8AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8AF5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8AF5#FFFFFF#000000##000000
##5C8AF51.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F9
Deuteranopia (green-blind)
#3F87F3
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5c8af5;
/* rgb */ color: rgb(92, 138, 245);
/* oklch */ color: oklch(65.2% 0.167 264.7);
Tailwind
colors: {
  custom: {
    50: '#97abf9',
    500: '#5c8af5',
    950: '#000000',
  },
}
SCSS
$custom: #5c8af5;
$custom-light: #97abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8af5",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 221.961,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65247,
    "c": 0.16732,
    "h": 264.7
  },
  "luminance": 0.27045
}

Semantic roles & 50–950 ramp

primary
#5C8AF5
secondary
#F0E0BD
accent
#A000E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5C8AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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