#5C7BEE#5C7BEE

#5C7BEE is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.176 H 269.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5C7BEE
RGBrgb(92, 123, 238)
HSLhsl(227, 81%, 65%)
HSVhsv(227, 61%, 93%)
CMYKcmyk(61.3%, 48.3%, 0%, 6.7%)
CIE-LABlab(54.67, 23.76, -61.45)
CIE-LCHlch(54.67, 65.89, 291.14°)
OKLaboklab(61.8% -0.002 -0.1758)
OKLCHoklch(61.8% 0.176 269.4)
XYZxyz(26.9240, 22.6120, 83.8180)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BEE #EECF5C
analogous
#5CC4EE #5C7BEE #865CEE
triadic
#5C7BEE #EE5C7B #7BEE5C
tetradic
#5C7BEE #EE5CC4 #EECF5C #5CEE86
square
#5C7BEE #EE5CC4 #EECF5C #5CEE86
split-complementary
#5C7BEE #EE865C #C4EE5C
monochromatic
#1437BC #254EE8 #5C7BEE #93A8F4 #CBD5FA

Accessibility & contrast

On white

3.80
#5C7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5C7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BEE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BEE#FFFFFF#000000##000000
##5C7BEE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7bee;
/* rgb */ color: rgb(92, 123, 238);
/* oklch */ color: oklch(61.8% 0.176 269.4);
Tailwind
colors: {
  custom: {
    50: '#97a0f4',
    500: '#5c7bee',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bee;
$custom-light: #97a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bee",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 227.26,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.17586,
    "h": 269.4
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#5C7BEE
secondary
#ECE1BA
accent
#B008DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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