#5C7BED#5C7BED

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

Color values

HEX#5C7BED
RGBrgb(92, 123, 237)
HSLhsl(227, 80%, 65%)
HSVhsv(227, 61%, 93%)
CMYKcmyk(61.2%, 48.1%, 0%, 7.1%)
CIE-LABlab(54.61, 23.43, -60.99)
CIE-LCHlch(54.61, 65.34, 291.01°)
OKLaboklab(61.73% -0.0021 -0.1745)
OKLCHoklch(61.73% 0.175 269.3)
XYZxyz(26.7775, 22.5534, 83.0465)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BED #EDCE5C
analogous
#5CC4ED #5C7BED #855CED
triadic
#5C7BED #ED5C7B #7BED5C
tetradic
#5C7BED #ED5CC4 #EDCE5C #5CED85
square
#5C7BED #ED5CC4 #EDCE5C #5CED85
split-complementary
#5C7BED #ED855C #C4ED5C
monochromatic
#1538BA #254EE7 #5C7BED #93A8F3 #CAD4F9

Accessibility & contrast

On white

3.81
#5C7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5C7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BED
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BED#FFFFFF#000000##000000
##5C7BED1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F1
Deuteranopia (green-blind)
#237DEB
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7bed;
/* rgb */ color: rgb(92, 123, 237);
/* oklch */ color: oklch(61.7% 0.175 269.3);
Tailwind
colors: {
  custom: {
    50: '#97a0f3',
    500: '#5c7bed',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bed;
$custom-light: #97a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bed",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 227.172,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.17451,
    "h": 269.3
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#5C7BED
secondary
#EBE1B9
accent
#AF09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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