#5B8CEB#5B8CEB

#5B8CEB is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.0% C 0.152 H 262.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5B8CEB
RGBrgb(91, 140, 235)
HSLhsl(220, 78%, 64%)
HSVhsv(220, 61%, 92%)
CMYKcmyk(61.3%, 40.4%, 0%, 7.8%)
CIE-LABlab(58.95, 12.31, -52.94)
CIE-LCHlch(58.95, 54.35, 283.09°)
OKLaboklab(65.01% -0.0202 -0.1506)
OKLCHoklch(65.01% 0.152 262.4)
XYZxyz(28.6826, 26.9759, 82.2765)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CEB #EBBA5B
analogous
#5BD4EB #5B8CEB #725BEB
triadic
#5B8CEB #EB5B8C #8CEB5B
tetradic
#5B8CEB #EB5BD4 #EBBA5B #5BEB72
square
#5B8CEB #EB5BD4 #EBBA5B #5BEB72
split-complementary
#5B8CEB #EB725B #D4EB5B
monochromatic
#164CB5 #2466E4 #5B8CEB #92B2F2 #C8D9F8

Accessibility & contrast

On white

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

On black

6.40
#5B8CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CEB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CEB#FFFFFF#000000##000000
##5B8CEB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8ceb;
/* rgb */ color: rgb(91, 140, 235);
/* oklch */ color: oklch(65.0% 0.152 262.4);
Tailwind
colors: {
  custom: {
    50: '#95adf2',
    500: '#5b8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ceb;
$custom-light: #95adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ceb",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 219.583,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.15199,
    "h": 262.4
  },
  "luminance": 0.26978
}

Semantic roles & 50–950 ramp

primary
#5B8CEB
secondary
#EAD9B8
accent
#940BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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