#5B8EF4#5B8EF4

#5B8EF4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.162 H 262.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5B8EF4
RGBrgb(91, 142, 244)
HSLhsl(220, 87%, 66%)
HSVhsv(220, 63%, 96%)
CMYKcmyk(62.7%, 41.8%, 0%, 4.3%)
CIE-LABlab(59.98, 14.11, -56.28)
CIE-LCHlch(59.98, 58.02, 284.08°)
OKLaboklab(65.96% -0.0204 -0.1604)
OKLCHoklch(65.96% 0.162 262.7)
XYZxyz(30.3108, 28.0990, 89.3967)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8EF4 #F4C15B
analogous
#5BDAF4 #5B8EF4 #745BF4
triadic
#5B8EF4 #F45B8E #8EF45B
tetradic
#5B8EF4 #F45BDA #F4C15B #5BF474
square
#5B8EF4 #F45BDA #F4C15B #5BF474
split-complementary
#5B8EF4 #F4745B #DAF45B
monochromatic
#0D4BC7 #2266F0 #5B8EF4 #94B6F8 #CEDDFC

Accessibility & contrast

On white

3.17
#5B8EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5B8EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8EF4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8EF4#FFFFFF#000000##000000
##5B8EF41.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b8ef4;
/* rgb */ color: rgb(91, 142, 244);
/* oklch */ color: oklch(66.0% 0.162 262.7);
Tailwind
colors: {
  custom: {
    50: '#97aef8',
    500: '#5b8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ef4;
$custom-light: #97aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ef4",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 220,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65959,
    "c": 0.16172,
    "h": 262.7
  },
  "luminance": 0.28102
}

Semantic roles & 50–950 ramp

primary
#5B8EF4
secondary
#EFDEBC
accent
#9802E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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