#5C7EF7#5C7EF7

#5C7EF7 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.184 H 268.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5C7EF7
RGBrgb(92, 126, 247)
HSLhsl(227, 91%, 66%)
HSVhsv(227, 63%, 97%)
CMYKcmyk(62.8%, 49%, 0%, 3.1%)
CIE-LABlab(56.00, 24.94, -64.31)
CIE-LCHlch(56.00, 68.98, 291.20°)
OKLaboklab(62.98% -0.0038 -0.1842)
OKLCHoklch(62.98% 0.184 268.8)
XYZxyz(28.6573, 23.9099, 91.0825)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7EF7 #F7D55C
analogous
#5CCBF7 #5C7EF7 #885CF7
triadic
#5C7EF7 #F75C7E #7EF75C
tetradic
#5C7EF7 #F75CCB #F7D55C #5CF788
square
#5C7EF7 #F75CCB #F7D55C #5CF788
split-complementary
#5C7EF7 #F7885C #CBF75C
monochromatic
#0A35CE #2250F4 #5C7EF7 #96ACFA #D1DAFD

Accessibility & contrast

On white

3.63
#5C7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5C7EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7EF7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7EF7#FFFFFF#000000##000000
##5C7EF71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFB
Deuteranopia (green-blind)
#1480F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7ef7;
/* rgb */ color: rgb(92, 126, 247);
/* oklch */ color: oklch(63.0% 0.184 268.8);
Tailwind
colors: {
  custom: {
    50: '#98a2fa',
    500: '#5c7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ef7;
$custom-light: #98a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ef7",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 226.839,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62982,
    "c": 0.18427,
    "h": 268.8
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

primary
#5C7EF7
secondary
#F1E6BE
accent
#B300E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5C7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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