#5C7BF8#5C7BF8

#5C7BF8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.5% C 0.189 H 269.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5C7BF8
RGBrgb(92, 123, 248)
HSLhsl(228, 92%, 67%)
HSVhsv(228, 63%, 97%)
CMYKcmyk(62.9%, 50.4%, 0%, 2.7%)
CIE-LABlab(55.29, 27.10, -66.00)
CIE-LCHlch(55.29, 71.35, 292.32°)
OKLaboklab(62.47% -0.0009 -0.1892)
OKLCHoklch(62.47% 0.189 269.7)
XYZxyz(28.4341, 23.2160, 91.7714)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BF8 #F8D95C
analogous
#5CC9F8 #5C7BF8 #8B5CF8
triadic
#5C7BF8 #F85C7B #7BF85C
tetradic
#5C7BF8 #F85CC9 #F8D95C #5CF88B
square
#5C7BF8 #F85CC9 #F8D95C #5CF88B
split-complementary
#5C7BF8 #F88B5C #C9F85C
monochromatic
#0931D1 #214BF5 #5C7BF8 #97ABFB #D1DAFD

Accessibility & contrast

On white

3.72
#5C7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5C7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BF8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BF8#FFFFFF#000000##000000
##5C7BF81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFC
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#0098AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7bf8;
/* rgb */ color: rgb(92, 123, 248);
/* oklch */ color: oklch(62.5% 0.189 269.7);
Tailwind
colors: {
  custom: {
    50: '#98a0fb',
    500: '#5c7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bf8;
$custom-light: #98a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bf8",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 228.077,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.18923,
    "h": 269.7
  },
  "luminance": 0.23219
}

Semantic roles & 50–950 ramp

primary
#5C7BF8
secondary
#F1E7BF
accent
#B800E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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