#5B8EE4#5B8EE4

#5B8EE4 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.0% C 0.140 H 260.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5B8EE4
RGBrgb(91, 142, 228)
HSLhsl(218, 72%, 63%)
HSVhsv(218, 60%, 89%)
CMYKcmyk(60.1%, 37.7%, 0%, 10.6%)
CIE-LABlab(59.13, 8.80, -48.77)
CIE-LCHlch(59.13, 49.56, 280.23°)
OKLaboklab(65.03% -0.0237 -0.1384)
OKLCHoklch(65.03% 0.14 260.3)
XYZxyz(27.9861, 27.1691, 77.1531)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8EE4 #E4B15B
analogous
#5BD3E4 #5B8EE4 #6C5BE4
triadic
#5B8EE4 #E45B8E #8EE45B
tetradic
#5B8EE4 #E45BD3 #E4B15B #5BE46C
square
#5B8EE4 #E45BD3 #E4B15B #5BE46C
split-complementary
#5B8EE4 #E46C5B #D3E45B
monochromatic
#1C50A9 #266ADB #5B8EE4 #90B2ED #C4D6F5

Accessibility & contrast

On white

3.26
#5B8EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5B8EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8EE4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8EE4#FFFFFF#000000##000000
##5B8EE41.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#5788E2
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8ee4;
/* rgb */ color: rgb(91, 142, 228);
/* oklch */ color: oklch(65.0% 0.140 260.3);
Tailwind
colors: {
  custom: {
    50: '#94aeed',
    500: '#5b8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ee4;
$custom-light: #94aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ee4",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 217.664,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65028,
    "c": 0.14043,
    "h": 260.3
  },
  "luminance": 0.27172
}

Semantic roles & 50–950 ramp

primary
#5B8EE4
secondary
#E6D4B4
accent
#8C12D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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