#5C7CF6#5C7CF6

#5C7CF6 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.185 H 269.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5C7CF6
RGBrgb(92, 124, 246)
HSLhsl(228, 90%, 66%)
HSVhsv(228, 63%, 96%)
CMYKcmyk(62.6%, 49.6%, 0%, 3.5%)
CIE-LABlab(55.42, 25.82, -64.68)
CIE-LCHlch(55.42, 69.65, 291.76°)
OKLaboklab(62.53% -0.0021 -0.1853)
OKLCHoklch(62.53% 0.185 269.4)
XYZxyz(28.2502, 23.3419, 90.1876)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7CF6 #F6D65C
analogous
#5CC9F6 #5C7CF6 #895CF6
triadic
#5C7CF6 #F65C7C #7CF65C
tetradic
#5C7CF6 #F65CC9 #F6D65C #5CF689
square
#5C7CF6 #F65CC9 #F6D65C #5CF689
split-complementary
#5C7CF6 #F6895C #C9F65C
monochromatic
#0B33CC #224DF3 #5C7CF6 #96ABF9 #D0D9FC

Accessibility & contrast

On white

3.70
#5C7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5C7CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7CF6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7CF6#FFFFFF#000000##000000
##5C7CF61.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#097EF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c7cf6;
/* rgb */ color: rgb(92, 124, 246);
/* oklch */ color: oklch(62.5% 0.185 269.4);
Tailwind
colors: {
  custom: {
    50: '#98a1fa',
    500: '#5c7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5c7cf6;
$custom-light: #98a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7cf6",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 227.532,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.18536,
    "h": 269.4
  },
  "luminance": 0.23344
}

Semantic roles & 50–950 ramp

primary
#5C7CF6
secondary
#F0E6BE
accent
#B600E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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