#5B8BE1#5B8BE1

#5B8BE1 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.2% C 0.140 H 261.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5B8BE1
RGBrgb(91, 139, 225)
HSLhsl(219, 69%, 62%)
HSVhsv(219, 60%, 88%)
CMYKcmyk(59.6%, 38.2%, 0%, 11.8%)
CIE-LABlab(58.15, 9.59, -48.65)
CIE-LCHlch(58.15, 49.58, 281.16°)
OKLaboklab(64.22% -0.0212 -0.1381)
OKLCHoklch(64.22% 0.14 261.3)
XYZxyz(27.1329, 26.1233, 74.8320)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BE1 #E1B15B
analogous
#5BCEE1 #5B8BE1 #6E5BE1
triadic
#5B8BE1 #E15B8B #8BE15B
tetradic
#5B8BE1 #E15BCE #E1B15B #5BE16E
square
#5B8BE1 #E15BCE #E1B15B #5BE16E
split-complementary
#5B8BE1 #E16E5B #CEE15B
monochromatic
#1E4EA4 #2766D7 #5B8BE1 #8FB0EA #C2D4F4

Accessibility & contrast

On white

3.37
#5B8BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5B8BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BE1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BE1#FFFFFF#000000##000000
##5B8BE11.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E4
Deuteranopia (green-blind)
#5486DF
Tritanopia (blue-blind)
#009EAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b8be1;
/* rgb */ color: rgb(91, 139, 225);
/* oklch */ color: oklch(64.2% 0.140 261.3);
Tailwind
colors: {
  custom: {
    50: '#94aceb',
    500: '#5b8be1',
    950: '#000000',
  },
}
SCSS
$custom: #5b8be1;
$custom-light: #94aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8be1",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 225
  },
  "hsl": {
    "h": 218.507,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.13971,
    "h": 261.3
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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