#5B7CEE#5B7CEE

#5B7CEE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.175 H 268.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5B7CEE
RGBrgb(91, 124, 238)
HSLhsl(227, 81%, 65%)
HSVhsv(227, 62%, 93%)
CMYKcmyk(61.8%, 47.9%, 0%, 6.7%)
CIE-LABlab(54.88, 22.98, -61.12)
CIE-LCHlch(54.88, 65.30, 290.60°)
OKLaboklab(61.94% -0.0039 -0.1749)
OKLCHoklch(61.94% 0.175 268.7)
XYZxyz(26.9494, 22.8102, 83.8550)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CEE #EECD5B
analogous
#5BC5EE #5B7CEE #845BEE
triadic
#5B7CEE #EE5B7C #7CEE5B
tetradic
#5B7CEE #EE5BC5 #EECD5B #5BEE84
square
#5B7CEE #EE5BC5 #EECD5B #5BEE84
split-complementary
#5B7CEE #EE845B #C5EE5B
monochromatic
#1339BB #2450E8 #5B7CEE #92A8F4 #CAD5F9

Accessibility & contrast

On white

3.78
#5B7CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5B7CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CEE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CEE#FFFFFF#000000##000000
##5B7CEE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b7cee;
/* rgb */ color: rgb(91, 124, 238);
/* oklch */ color: oklch(61.9% 0.175 268.7);
Tailwind
colors: {
  custom: {
    50: '#96a1f4',
    500: '#5b7cee',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cee;
$custom-light: #96a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cee",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 226.531,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.17494,
    "h": 268.7
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#5B7CEE
secondary
#ECE0B9
accent
#AE08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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