#5B8AF1#5B8AF1

#5B8AF1 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.0% C 0.162 H 264.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5B8AF1
RGBrgb(91, 138, 241)
HSLhsl(221, 84%, 65%)
HSVhsv(221, 62%, 95%)
CMYKcmyk(62.2%, 42.7%, 0%, 5.5%)
CIE-LABlab(58.74, 15.50, -56.60)
CIE-LCHlch(58.74, 58.68, 285.32°)
OKLaboklab(64.95% -0.017 -0.1614)
OKLCHoklch(64.95% 0.162 264)
XYZxyz(29.2745, 26.7493, 86.8224)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AF1 #F1C25B
analogous
#5BD5F1 #5B8AF1 #775BF1
triadic
#5B8AF1 #F15B8A #8AF15B
tetradic
#5B8AF1 #F15BD5 #F1C25B #5BF177
square
#5B8AF1 #F15BD5 #F1C25B #5BF177
split-complementary
#5B8AF1 #F1775B #D5F15B
monochromatic
#1048C1 #2362EC #5B8AF1 #93B2F6 #CCDAFB

Accessibility & contrast

On white

3.31
#5B8AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5B8AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AF1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AF1#FFFFFF#000000##000000
##5B8AF11.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F5
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b8af1;
/* rgb */ color: rgb(91, 138, 241);
/* oklch */ color: oklch(65.0% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#96abf6',
    500: '#5b8af1',
    950: '#000000',
  },
}
SCSS
$custom: #5b8af1;
$custom-light: #96abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8af1",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 241
  },
  "hsl": {
    "h": 221.2,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.16231,
    "h": 264
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#5B8AF1
secondary
#EDDDBA
accent
#9C05E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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