#5C7BE4#5C7BE4

#5C7BE4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.1% C 0.162 H 268.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C7BE4
RGBrgb(92, 123, 228)
HSLhsl(226, 72%, 63%)
HSVhsv(226, 60%, 89%)
CMYKcmyk(59.6%, 46.1%, 0%, 10.6%)
CIE-LABlab(54.07, 20.44, -56.83)
CIE-LCHlch(54.07, 60.39, 289.78°)
OKLaboklab(61.15% -0.0032 -0.1623)
OKLCHoklch(61.15% 0.162 268.9)
XYZxyz(25.4955, 22.0406, 76.2944)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BE4 #E4C55C
analogous
#5CBFE4 #5C7BE4 #815CE4
triadic
#5C7BE4 #E45C7B #7BE45C
tetradic
#5C7BE4 #E45CBF #E4C55C #5CE481
square
#5C7BE4 #E45CBF #E4C55C #5CE481
split-complementary
#5C7BE4 #E4815C #BFE45C
monochromatic
#1C3CAA #2750DB #5C7BE4 #91A6ED #C5D0F5

Accessibility & contrast

On white

3.88
#5C7BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5C7BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BE4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BE4#FFFFFF#000000##000000
##5C7BE41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#337CE2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c7be4;
/* rgb */ color: rgb(92, 123, 228);
/* oklch */ color: oklch(61.1% 0.162 268.9);
Tailwind
colors: {
  custom: {
    50: '#95a0ed',
    500: '#5c7be4',
    950: '#000000',
  },
}
SCSS
$custom: #5c7be4;
$custom-light: #95a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7be4",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 226.324,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.16229,
    "h": 268.9
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#5C7BE4
secondary
#E7DBB5
accent
#A712D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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