#5C7BF0#5C7BF0

#5C7BF0 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.179 H 269.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5C7BF0
RGBrgb(92, 123, 240)
HSLhsl(227, 83%, 65%)
HSVhsv(227, 62%, 94%)
CMYKcmyk(61.7%, 48.7%, 0%, 5.9%)
CIE-LABlab(54.79, 24.43, -62.37)
CIE-LCHlch(54.79, 66.98, 291.39°)
OKLaboklab(61.93% -0.0017 -0.1785)
OKLCHoklch(61.93% 0.179 269.4)
XYZxyz(27.2195, 22.7302, 85.3741)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BF0 #F0D15C
analogous
#5CC5F0 #5C7BF0 #875CF0
triadic
#5C7BF0 #F05C7B #7BF05C
tetradic
#5C7BF0 #F05CC5 #F0D15C #5CF087
square
#5C7BF0 #F05CC5 #F0D15C #5CF087
split-complementary
#5C7BF0 #F0875C #C5F05C
monochromatic
#1236C0 #244EEB #5C7BF0 #94A8F5 #CCD6FA

Accessibility & contrast

On white

3.79
#5C7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5C7BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BF0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BF0#FFFFFF#000000##000000
##5C7BF01.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#1B7DEE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7bf0;
/* rgb */ color: rgb(92, 123, 240);
/* oklch */ color: oklch(61.9% 0.179 269.4);
Tailwind
colors: {
  custom: {
    50: '#97a0f6',
    500: '#5c7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bf0;
$custom-light: #97a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bf0",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 227.432,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.17856,
    "h": 269.4
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#5C7BF0
secondary
#EDE2BB
accent
#B206E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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