#5C7BEA#5C7BEA

#5C7BEA is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.170 H 269.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5C7BEA
RGBrgb(92, 123, 234)
HSLhsl(227, 77%, 64%)
HSVhsv(227, 61%, 92%)
CMYKcmyk(60.7%, 47.4%, 0%, 8.2%)
CIE-LABlab(54.43, 22.43, -59.61)
CIE-LCHlch(54.43, 63.69, 290.62°)
OKLaboklab(61.53% -0.0024 -0.1704)
OKLCHoklch(61.53% 0.17 269.2)
XYZxyz(26.3429, 22.3795, 80.7574)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BEA #EACB5C
analogous
#5CC2EA #5C7BEA #845CEA
triadic
#5C7BEA #EA5C7B #7BEA5C
tetradic
#5C7BEA #EA5CC2 #EACB5C #5CEA84
square
#5C7BEA #EA5CC2 #EACB5C #5CEA84
split-complementary
#5C7BEA #EA845C #C2EA5C
monochromatic
#173AB4 #264FE3 #5C7BEA #92A7F1 #C8D3F8

Accessibility & contrast

On white

3.83
#5C7BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5C7BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BEA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BEA#FFFFFF#000000##000000
##5C7BEA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7bea;
/* rgb */ color: rgb(92, 123, 234);
/* oklch */ color: oklch(61.5% 0.170 269.2);
Tailwind
colors: {
  custom: {
    50: '#96a0f1',
    500: '#5c7bea',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bea;
$custom-light: #96a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bea",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 226.901,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.17046,
    "h": 269.2
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#5C7BEA
secondary
#EADFB8
accent
#AD0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5C7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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