#5C7BF6#5C7BF6

#5C7BF6 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.3% C 0.187 H 269.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5C7BF6
RGBrgb(92, 123, 246)
HSLhsl(228, 90%, 66%)
HSVhsv(228, 63%, 96%)
CMYKcmyk(62.6%, 50%, 0%, 3.5%)
CIE-LABlab(55.17, 26.43, -65.10)
CIE-LCHlch(55.17, 70.26, 292.10°)
OKLaboklab(62.33% -0.0011 -0.1866)
OKLCHoklch(62.33% 0.187 269.7)
XYZxyz(28.1255, 23.0926, 90.1460)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BF6 #F6D75C
analogous
#5CC8F6 #5C7BF6 #8A5CF6
triadic
#5C7BF6 #F65C7B #7BF65C
tetradic
#5C7BF6 #F65CC8 #F6D75C #5CF68A
square
#5C7BF6 #F65CC8 #F6D75C #5CF68A
split-complementary
#5C7BF6 #F68A5C #C8F65C
monochromatic
#0B32CC #224CF3 #5C7BF6 #96AAF9 #D0D9FC

Accessibility & contrast

On white

3.74
#5C7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5C7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BF6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BF6#FFFFFF#000000##000000
##5C7BF61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#007EF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7bf6;
/* rgb */ color: rgb(92, 123, 246);
/* oklch */ color: oklch(62.3% 0.187 269.7);
Tailwind
colors: {
  custom: {
    50: '#98a0fa',
    500: '#5c7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bf6;
$custom-light: #98a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bf6",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 227.922,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62332,
    "c": 0.18657,
    "h": 269.7
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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