#5C7FF4#5C7FF4

#5C7FF4 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.179 H 268.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5C7FF4
RGBrgb(92, 127, 244)
HSLhsl(226, 87%, 66%)
HSVhsv(226, 62%, 96%)
CMYKcmyk(62.3%, 48%, 0%, 4.3%)
CIE-LABlab(56.07, 23.33, -62.53)
CIE-LCHlch(56.07, 66.74, 290.46°)
OKLaboklab(62.98% -0.0051 -0.179)
OKLCHoklch(62.98% 0.179 268.4)
XYZxyz(28.3266, 23.9832, 88.7069)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FF4 #F4D15C
analogous
#5CCBF4 #5C7FF4 #855CF4
triadic
#5C7FF4 #F45C7F #7FF45C
tetradic
#5C7FF4 #F45CCB #F4D15C #5CF485
square
#5C7FF4 #F45CCB #F4D15C #5CF485
split-complementary
#5C7FF4 #F4855C #CBF45C
monochromatic
#0E38C8 #2352F0 #5C7FF4 #95ACF8 #CFD9FC

Accessibility & contrast

On white

3.62
#5C7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5C7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FF4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FF4#FFFFFF#000000##000000
##5C7FF41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#2280F2
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7ff4;
/* rgb */ color: rgb(92, 127, 244);
/* oklch */ color: oklch(63.0% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#98a3f8',
    500: '#5c7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ff4;
$custom-light: #98a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ff4",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 226.184,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.17905,
    "h": 268.4
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#5C7FF4
secondary
#EFE3BD
accent
#B002E4
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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