#5B8CF1#5B8CF1

#5B8CF1 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.4% C 0.160 H 263.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5B8CF1
RGBrgb(91, 140, 241)
HSLhsl(220, 84%, 65%)
HSVhsv(220, 62%, 95%)
CMYKcmyk(62.2%, 41.9%, 0%, 5.5%)
CIE-LABlab(59.28, 14.30, -55.74)
CIE-LCHlch(59.28, 57.55, 284.39°)
OKLaboklab(65.36% -0.019 -0.1589)
OKLCHoklch(65.36% 0.16 263.2)
XYZxyz(29.5641, 27.3285, 86.9190)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CF1 #F1C05B
analogous
#5BD7F1 #5B8CF1 #755BF1
triadic
#5B8CF1 #F15B8C #8CF15B
tetradic
#5B8CF1 #F15BD7 #F1C05B #5BF175
square
#5B8CF1 #F15BD7 #F1C05B #5BF175
split-complementary
#5B8CF1 #F1755B #D7F15B
monochromatic
#104AC1 #2364EC #5B8CF1 #93B4F6 #CCDBFB

Accessibility & contrast

On white

3.25
#5B8CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5B8CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CF1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CF1#FFFFFF#000000##000000
##5B8CF11.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F5
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8cf1;
/* rgb */ color: rgb(91, 140, 241);
/* oklch */ color: oklch(65.4% 0.160 263.2);
Tailwind
colors: {
  custom: {
    50: '#96adf6',
    500: '#5b8cf1',
    950: '#000000',
  },
}
SCSS
$custom: #5b8cf1;
$custom-light: #96adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8cf1",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 220.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65365,
    "c": 0.16001,
    "h": 263.2
  },
  "luminance": 0.27331
}

Semantic roles & 50–950 ramp

primary
#5B8CF1
secondary
#EDDDBA
accent
#9905E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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