#5B8AF5#5B8AF5

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

Color values

HEX#5B8AF5
RGBrgb(91, 138, 245)
HSLhsl(222, 89%, 66%)
HSVhsv(222, 63%, 96%)
CMYKcmyk(62.9%, 43.7%, 0%, 3.9%)
CIE-LABlab(58.97, 16.84, -58.45)
CIE-LCHlch(58.97, 60.83, 286.08°)
OKLaboklab(65.2% -0.0164 -0.1668)
OKLCHoklch(65.2% 0.168 264.4)
XYZxyz(29.8786, 26.9909, 90.0037)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AF5 #F5C65B
analogous
#5BD7F5 #5B8AF5 #795BF5
triadic
#5B8AF5 #F55B8A #8AF55B
tetradic
#5B8AF5 #F55BD7 #F5C65B #5BF579
square
#5B8AF5 #F55BD7 #F5C65B #5BF579
split-complementary
#5B8AF5 #F5795B #D7F55B
monochromatic
#0C46C9 #2161F1 #5B8AF5 #95B3F9 #CEDCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8AF5#FFFFFF#000000##000000
##5B8AF51.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)
#5795F9
Deuteranopia (green-blind)
#3F87F3
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8af5;
/* rgb */ color: rgb(91, 138, 245);
/* oklch */ color: oklch(65.2% 0.168 264.4);
Tailwind
colors: {
  custom: {
    50: '#97abf9',
    500: '#5b8af5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8af5;
$custom-light: #97abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8af5",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 221.688,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65198,
    "c": 0.16765,
    "h": 264.4
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#5B8AF5
secondary
#EFE0BC
accent
#9F00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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