#5B8FF4#5B8FF4

#5B8FF4 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.161 H 262.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5B8FF4
RGBrgb(91, 143, 244)
HSLhsl(220, 87%, 66%)
HSVhsv(220, 63%, 96%)
CMYKcmyk(62.7%, 41.4%, 0%, 4.3%)
CIE-LABlab(60.25, 13.52, -55.85)
CIE-LCHlch(60.25, 57.46, 283.60°)
OKLaboklab(66.17% -0.0214 -0.1592)
OKLCHoklch(66.17% 0.161 262.3)
XYZxyz(30.4603, 28.3979, 89.4465)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FF4 #F4C05B
analogous
#5BDBF4 #5B8FF4 #735BF4
triadic
#5B8FF4 #F45B8F #8FF45B
tetradic
#5B8FF4 #F45BDB #F4C05B #5BF473
square
#5B8FF4 #F45BDB #F4C05B #5BF473
split-complementary
#5B8FF4 #F4735B #DBF45B
monochromatic
#0D4DC7 #2268F0 #5B8FF4 #94B6F8 #CEDDFC

Accessibility & contrast

On white

3.14
#5B8FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5B8FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FF4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FF4#FFFFFF#000000##000000
##5B8FF41.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b8ff4;
/* rgb */ color: rgb(91, 143, 244);
/* oklch */ color: oklch(66.2% 0.161 262.3);
Tailwind
colors: {
  custom: {
    50: '#97aff8',
    500: '#5b8ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ff4;
$custom-light: #97aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ff4",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 219.608,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66166,
    "c": 0.16059,
    "h": 262.3
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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