#5C7BF4#5C7BF4

#5C7BF4 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.184 H 269.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C7BF4
RGBrgb(92, 123, 244)
HSLhsl(228, 87%, 66%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(62.3%, 49.6%, 0%, 4.3%)
CIE-LABlab(55.04, 25.76, -64.19)
CIE-LCHlch(55.04, 69.17, 291.87°)
OKLaboklab(62.2% -0.0013 -0.1839)
OKLCHoklch(62.2% 0.184 269.6)
XYZxyz(27.8202, 22.9705, 88.5381)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BF4 #F4D55C
analogous
#5CC7F4 #5C7BF4 #895CF4
triadic
#5C7BF4 #F45C7B #7BF45C
tetradic
#5C7BF4 #F45CC7 #F4D55C #5CF489
square
#5C7BF4 #F45CC7 #F4D55C #5CF489
split-complementary
#5C7BF4 #F4895C #C7F45C
monochromatic
#0E34C8 #234DF0 #5C7BF4 #95A9F8 #CFD8FC

Accessibility & contrast

On white

3.75
#5C7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5C7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BF4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BF4#FFFFFF#000000##000000
##5C7BF41.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF8
Deuteranopia (green-blind)
#0C7DF1
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7bf4;
/* rgb */ color: rgb(92, 123, 244);
/* oklch */ color: oklch(62.2% 0.184 269.6);
Tailwind
colors: {
  custom: {
    50: '#98a0f8',
    500: '#5c7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bf4;
$custom-light: #98a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bf4",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 227.763,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62197,
    "c": 0.18391,
    "h": 269.6
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#5C7BF4
secondary
#EFE5BD
accent
#B602E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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