#5B8EE2#5B8EE2

#5B8EE2 is a light, vivid blue. Relative luminance 0.271; OKLCH L 64.9% C 0.138 H 259.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B8EE2
RGBrgb(91, 142, 226)
HSLhsl(217, 70%, 62%)
HSVhsv(217, 60%, 89%)
CMYKcmyk(59.7%, 37.2%, 0%, 11.4%)
CIE-LABlab(59.03, 8.14, -47.82)
CIE-LCHlch(59.03, 48.51, 279.66°)
OKLaboklab(64.92% -0.0242 -0.1356)
OKLCHoklch(64.92% 0.138 259.9)
XYZxyz(27.7100, 27.0587, 75.6993)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8EE2 #E2AF5B
analogous
#5BD2E2 #5B8EE2 #6B5BE2
triadic
#5B8EE2 #E25B8E #8EE25B
tetradic
#5B8EE2 #E25BD2 #E2AF5B #5BE26B
square
#5B8EE2 #E25BD2 #E2AF5B #5BE26B
split-complementary
#5B8EE2 #E26B5B #D2E25B
monochromatic
#1D51A5 #276AD9 #5B8EE2 #8FB2EB #C3D6F4

Accessibility & contrast

On white

3.28
#5B8EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5B8EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8EE2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8EE2#FFFFFF#000000##000000
##5B8EE21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E5
Deuteranopia (green-blind)
#5888E0
Tritanopia (blue-blind)
#00A1AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8ee2;
/* rgb */ color: rgb(91, 142, 226);
/* oklch */ color: oklch(64.9% 0.138 259.9);
Tailwind
colors: {
  custom: {
    50: '#94aeeb',
    500: '#5b8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ee2;
$custom-light: #94aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ee2",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 217.333,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.13777,
    "h": 259.9
  },
  "luminance": 0.27061
}

Semantic roles & 50–950 ramp

primary
#5B8EE2
secondary
#E5D2B4
accent
#8A14D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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