#5B82F3#5B82F3

#5B82F3 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.174 H 267.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5B82F3
RGBrgb(91, 130, 243)
HSLhsl(225, 86%, 65%)
HSVhsv(225, 63%, 95%)
CMYKcmyk(62.6%, 46.5%, 0%, 4.7%)
CIE-LABlab(56.74, 21.00, -60.91)
CIE-LCHlch(56.74, 64.43, 289.03°)
OKLaboklab(63.46% -0.009 -0.1742)
OKLCHoklch(63.46% 0.174 267)
XYZxyz(28.4691, 24.6579, 88.0358)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82F3 #F3CC5B
analogous
#5BCEF3 #5B82F3 #805BF3
triadic
#5B82F3 #F35B82 #82F35B
tetradic
#5B82F3 #F35BCE #F3CC5B #5BF380
square
#5B82F3 #F35BCE #F3CC5B #5BF380
split-complementary
#5B82F3 #F3805B #CEF35B
monochromatic
#0E3DC5 #2257EF #5B82F3 #94ADF7 #CDD9FB

Accessibility & contrast

On white

3.54
#5B82F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5B82F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82F3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82F3#FFFFFF#000000##000000
##5B82F31.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF7
Deuteranopia (green-blind)
#2D82F1
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b82f3;
/* rgb */ color: rgb(91, 130, 243);
/* oklch */ color: oklch(63.5% 0.174 267.0);
Tailwind
colors: {
  custom: {
    50: '#97a5f8',
    500: '#5b82f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b82f3;
$custom-light: #97a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82f3",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 243
  },
  "hsl": {
    "h": 224.605,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63456,
    "c": 0.17441,
    "h": 267
  },
  "luminance": 0.2466
}

Semantic roles & 50–950 ramp

primary
#5B82F3
secondary
#EEE1BB
accent
#A903E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B82F3

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

Preview Lab → · Contrast checker → · Palette generator →

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