#5C7CFE#5C7CFE

#5C7CFE is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.1% C 0.196 H 269.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5C7CFE
RGBrgb(92, 124, 254)
HSLhsl(228, 99%, 68%)
HSVhsv(228, 64%, 100%)
CMYKcmyk(63.8%, 51.2%, 0%, 0.4%)
CIE-LABlab(55.93, 28.50, -68.29)
CIE-LCHlch(55.93, 74.00, 292.65°)
OKLaboklab(63.07% -0.0013 -0.196)
OKLCHoklch(63.07% 0.196 269.6)
XYZxyz(29.5046, 23.8437, 96.7941)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7CFE #FEDE5C
analogous
#5CCDFE #5C7CFE #8D5CFE
triadic
#5C7CFE #FE5C7C #7CFE5C
tetradic
#5C7CFE #FE5CCD #FEDE5C #5CFE8D
square
#5C7CFE #FE5CCD #FEDE5C #5CFE8D
split-complementary
#5C7CFE #FE8D5C #CDFE5C
monochromatic
#012DDE #1F4BFE #5C7CFE #99ADFE #D6DEFF

Accessibility & contrast

On white

3.64
#5C7CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5C7CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7CFE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7CFE#FFFFFF#000000##000000
##5C7CFE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#009BB1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7cfe;
/* rgb */ color: rgb(92, 124, 254);
/* oklch */ color: oklch(63.1% 0.196 269.6);
Tailwind
colors: {
  custom: {
    50: '#99a1ff',
    500: '#5c7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #5c7cfe;
$custom-light: #99a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7cfe",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 228.148,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.19595,
    "h": 269.6
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#5C7CFE
secondary
#F4EAC2
accent
#B800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5C7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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