#5C7BEC#5C7BEC

#5C7BEC is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.173 H 269.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5C7BEC
RGBrgb(92, 123, 236)
HSLhsl(227, 79%, 64%)
HSVhsv(227, 61%, 93%)
CMYKcmyk(61%, 47.9%, 0%, 7.5%)
CIE-LABlab(54.55, 23.09, -60.53)
CIE-LCHlch(54.55, 64.79, 290.88°)
OKLaboklab(61.66% -0.0022 -0.1731)
OKLCHoklch(61.66% 0.173 269.3)
XYZxyz(26.6318, 22.4951, 82.2792)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BEC #ECCD5C
analogous
#5CC3EC #5C7BEC #855CEC
triadic
#5C7BEC #EC5C7B #7BEC5C
tetradic
#5C7BEC #EC5CC3 #ECCD5C #5CEC85
square
#5C7BEC #EC5CC3 #ECCD5C #5CEC85
split-complementary
#5C7BEC #EC855C #C3EC5C
monochromatic
#1538B8 #254FE6 #5C7BEC #93A7F2 #CAD4F9

Accessibility & contrast

On white

3.82
#5C7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5C7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BEC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BEC#FFFFFF#000000##000000
##5C7BEC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#257CEA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7bec;
/* rgb */ color: rgb(92, 123, 236);
/* oklch */ color: oklch(61.7% 0.173 269.3);
Tailwind
colors: {
  custom: {
    50: '#96a0f3',
    500: '#5c7bec',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bec;
$custom-light: #96a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bec",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 227.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.17316,
    "h": 269.3
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#5C7BEC
secondary
#EBE0B9
accent
#AE0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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