#5B82F1#5B82F1

#5B82F1 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.3% C 0.172 H 266.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5B82F1
RGBrgb(91, 130, 241)
HSLhsl(224, 84%, 65%)
HSVhsv(224, 62%, 95%)
CMYKcmyk(62.2%, 46.1%, 0%, 5.5%)
CIE-LABlab(56.62, 20.33, -59.99)
CIE-LCHlch(56.62, 63.34, 288.72°)
OKLaboklab(63.33% -0.0093 -0.1715)
OKLCHoklch(63.33% 0.172 266.9)
XYZxyz(28.1688, 24.5378, 86.4538)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82F1 #F1CA5B
analogous
#5BCDF1 #5B82F1 #7F5BF1
triadic
#5B82F1 #F15B82 #82F15B
tetradic
#5B82F1 #F15BCD #F1CA5B #5BF17F
square
#5B82F1 #F15BCD #F1CA5B #5BF17F
split-complementary
#5B82F1 #F17F5B #CDF15B
monochromatic
#103EC1 #2357EC #5B82F1 #93ADF6 #CCD8FB

Accessibility & contrast

On white

3.55
#5B82F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5B82F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82F1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82F1#FFFFFF#000000##000000
##5B82F11.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF5
Deuteranopia (green-blind)
#3081EF
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b82f1;
/* rgb */ color: rgb(91, 130, 241);
/* oklch */ color: oklch(63.3% 0.172 266.9);
Tailwind
colors: {
  custom: {
    50: '#96a5f6',
    500: '#5b82f1',
    950: '#000000',
  },
}
SCSS
$custom: #5b82f1;
$custom-light: #96a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82f1",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 241
  },
  "hsl": {
    "h": 224.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63327,
    "c": 0.17173,
    "h": 266.9
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#5B82F1
secondary
#EDE0BA
accent
#A805E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B82F1

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

Preview Lab → · Contrast checker → · Palette generator →

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