#5C5EF3#5C5EF3

#5C5EF3 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.218 H 276.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C5EF3
RGBrgb(92, 94, 243)
HSLhsl(239, 86%, 66%)
HSVhsv(239, 62%, 95%)
CMYKcmyk(62.1%, 61.3%, 0%, 4.7%)
CIE-LABlab(47.94, 42.98, -75.14)
CIE-LCHlch(47.94, 86.56, 299.77°)
OKLaboklab(56.88% 0.0242 -0.2164)
OKLCHoklch(56.88% 0.218 276.4)
XYZxyz(24.5887, 16.7498, 86.7139)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EF3 #F3F15C
analogous
#5CAAF3 #5C5EF3 #A55CF3
triadic
#5C5EF3 #F35C5E #5EF35C
tetradic
#5C5EF3 #F35CAA #F3F15C #5CF3A5
square
#5C5EF3 #F35CAA #F3F15C #5CF3A5
split-complementary
#5C5EF3 #F3A55C #AAF35C
monochromatic
#0F11C6 #2326EF #5C5EF3 #9596F7 #CECFFB

Accessibility & contrast

On white

4.83
#5C5EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5C5EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EF3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EF3#FFFFFF#000000##FFFFFF
##5C5EF31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c5ef3;
/* rgb */ color: rgb(92, 94, 243);
/* oklch */ color: oklch(56.9% 0.218 276.4);
Tailwind
colors: {
  custom: {
    50: '#998cf8',
    500: '#5c5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ef3;
$custom-light: #998cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ef3",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 239.205,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.21774,
    "h": 276.4
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#5C5EF3
secondary
#EFEEBC
accent
#E003E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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