#5C8EFA#5C8EFA

#5C8EFA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.4% C 0.169 H 263.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5C8EFA
RGBrgb(92, 142, 250)
HSLhsl(221, 94%, 67%)
HSVhsv(221, 63%, 98%)
CMYKcmyk(63.2%, 43.2%, 0%, 2%)
CIE-LABlab(60.36, 16.29, -58.98)
CIE-LCHlch(60.36, 61.19, 285.44°)
OKLaboklab(66.37% -0.0185 -0.1683)
OKLCHoklch(66.37% 0.169 263.7)
XYZxyz(31.3359, 28.5205, 94.2776)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8EFA #FAC85C
analogous
#5CDDFA #5C8EFA #795CFA
triadic
#5C8EFA #FA5C8E #8EFA5C
tetradic
#5C8EFA #FA5CDD #FAC85C #5CFA79
square
#5C8EFA #FA5CDD #FAC85C #5CFA79
split-complementary
#5C8EFA #FA795C #DDFA5C
monochromatic
#0748D5 #2165F8 #5C8EFA #97B7FC #D3E0FE

Accessibility & contrast

On white

3.13
#5C8EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5C8EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8EFA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8EFA#FFFFFF#000000##000000
##5C8EFA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#00A7B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5c8efa;
/* rgb */ color: rgb(92, 142, 250);
/* oklch */ color: oklch(66.4% 0.169 263.7);
Tailwind
colors: {
  custom: {
    50: '#98aefc',
    500: '#5c8efa',
    950: '#000000',
  },
}
SCSS
$custom: #5c8efa;
$custom-light: #98aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8efa",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 221.013,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6637,
    "c": 0.16934,
    "h": 263.7
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#5C8EFA
secondary
#F2E2C0
accent
#9D00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5C8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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