#5C7DF7#5C7DF7

#5C7DF7 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.185 H 269.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5C7DF7
RGBrgb(92, 125, 247)
HSLhsl(227, 91%, 66%)
HSVhsv(227, 63%, 97%)
CMYKcmyk(62.8%, 49.4%, 0%, 3.1%)
CIE-LABlab(55.74, 25.55, -64.73)
CIE-LCHlch(55.74, 69.59, 291.54°)
OKLaboklab(62.79% -0.0029 -0.1855)
OKLCHoklch(62.79% 0.185 269.1)
XYZxyz(28.5300, 23.6554, 91.0401)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DF7 #F7D65C
analogous
#5CCBF7 #5C7DF7 #895CF7
triadic
#5C7DF7 #F75C7D #7DF75C
tetradic
#5C7DF7 #F75CCB #F7D65C #5CF789
square
#5C7DF7 #F75CCB #F7D65C #5CF789
split-complementary
#5C7DF7 #F7895C #CBF75C
monochromatic
#0A34CE #224EF4 #5C7DF7 #96ACFA #D1DAFD

Accessibility & contrast

On white

3.66
#5C7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5C7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7DF7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7DF7#FFFFFF#000000##000000
##5C7DF71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFB
Deuteranopia (green-blind)
#0C7FF4
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7df7;
/* rgb */ color: rgb(92, 125, 247);
/* oklch */ color: oklch(62.8% 0.185 269.1);
Tailwind
colors: {
  custom: {
    50: '#98a2fb',
    500: '#5c7df7',
    950: '#000000',
  },
}
SCSS
$custom: #5c7df7;
$custom-light: #98a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7df7",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 227.226,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62787,
    "c": 0.18548,
    "h": 269.1
  },
  "luminance": 0.23658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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