#5B8AF6#5B8AF6

#5B8AF6 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.3% C 0.169 H 264.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B8AF6
RGBrgb(91, 138, 246)
HSLhsl(222, 90%, 66%)
HSVhsv(222, 63%, 96%)
CMYKcmyk(63%, 43.9%, 0%, 3.5%)
CIE-LABlab(59.02, 17.18, -58.91)
CIE-LCHlch(59.02, 61.36, 286.26°)
OKLaboklab(65.26% -0.0162 -0.1682)
OKLCHoklch(65.26% 0.169 264.5)
XYZxyz(30.0316, 27.0522, 90.8099)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AF6 #F6C75B
analogous
#5BD8F6 #5B8AF6 #795BF6
triadic
#5B8AF6 #F65B8A #8AF65B
tetradic
#5B8AF6 #F65BD8 #F6C75B #5BF679
square
#5B8AF6 #F65BD8 #F6C75B #5BF679
split-complementary
#5B8AF6 #F6795B #D8F65B
monochromatic
#0B45CB #2161F3 #5B8AF6 #95B3F9 #CFDDFC

Accessibility & contrast

On white

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

On black

6.41
#5B8AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AF6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AF6#FFFFFF#000000##000000
##5B8AF61.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#3D87F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8af6;
/* rgb */ color: rgb(91, 138, 246);
/* oklch */ color: oklch(65.3% 0.169 264.5);
Tailwind
colors: {
  custom: {
    50: '#97abfa',
    500: '#5b8af6',
    950: '#000000',
  },
}
SCSS
$custom: #5b8af6;
$custom-light: #97abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8af6",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 221.806,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6526,
    "c": 0.16898,
    "h": 264.5
  },
  "luminance": 0.27055
}

Semantic roles & 50–950 ramp

primary
#5B8AF6
secondary
#F0E0BD
accent
#A000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5B8AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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