#5B8CE1#5B8CE1

#5B8CE1 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.4% C 0.139 H 260.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5B8CE1
RGBrgb(91, 140, 225)
HSLhsl(218, 69%, 62%)
HSVhsv(218, 60%, 88%)
CMYKcmyk(59.6%, 37.8%, 0%, 11.8%)
CIE-LABlab(58.43, 9.00, -48.21)
CIE-LCHlch(58.43, 49.04, 280.57°)
OKLaboklab(64.43% -0.0223 -0.1368)
OKLCHoklch(64.43% 0.139 260.8)
XYZxyz(27.2783, 26.4142, 74.8805)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CE1 #E1B05B
analogous
#5BCFE1 #5B8CE1 #6D5BE1
triadic
#5B8CE1 #E15B8C #8CE15B
tetradic
#5B8CE1 #E15BCF #E1B05B #5BE16D
square
#5B8CE1 #E15BCF #E1B05B #5BE16D
split-complementary
#5B8CE1 #E16D5B #CFE15B
monochromatic
#1E4FA4 #2768D7 #5B8CE1 #8FB0EA #C2D5F4

Accessibility & contrast

On white

3.34
#5B8CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5B8CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CE1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CE1#FFFFFF#000000##000000
##5B8CE11.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E4
Deuteranopia (green-blind)
#5687DF
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b8ce1;
/* rgb */ color: rgb(91, 140, 225);
/* oklch */ color: oklch(64.4% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#94adeb',
    500: '#5b8ce1',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ce1;
$custom-light: #94adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ce1",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 225
  },
  "hsl": {
    "h": 218.06,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64433,
    "c": 0.13861,
    "h": 260.8
  },
  "luminance": 0.26417
}

Semantic roles & 50–950 ramp

primary
#5B8CE1
secondary
#E5D3B3
accent
#8C14D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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