#5C7EF6#5C7EF6

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

Color values

HEX#5C7EF6
RGBrgb(92, 126, 246)
HSLhsl(227, 90%, 66%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(62.6%, 48.8%, 0%, 3.5%)
CIE-LABlab(55.94, 24.61, -63.86)
CIE-LCHlch(55.94, 68.44, 291.07°)
OKLaboklab(62.92% -0.0039 -0.1829)
OKLCHoklch(62.92% 0.183 268.8)
XYZxyz(28.5034, 23.8483, 90.2720)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7EF6 #F6D45C
analogous
#5CCBF6 #5C7EF6 #875CF6
triadic
#5C7EF6 #F65C7E #7EF65C
tetradic
#5C7EF6 #F65CCB #F6D45C #5CF687
square
#5C7EF6 #F65CCB #F6D45C #5CF687
split-complementary
#5C7EF6 #F6875C #CBF65C
monochromatic
#0B36CC #2250F3 #5C7EF6 #96ACF9 #D0DAFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7EF6#FFFFFF#000000##000000
##5C7EF61.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)
#3D8DFA
Deuteranopia (green-blind)
#177FF4
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7ef6;
/* rgb */ color: rgb(92, 126, 246);
/* oklch */ color: oklch(62.9% 0.183 268.8);
Tailwind
colors: {
  custom: {
    50: '#98a2fa',
    500: '#5c7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ef6;
$custom-light: #98a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ef6",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 226.753,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62915,
    "c": 0.18294,
    "h": 268.8
  },
  "luminance": 0.23851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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