#5B82FA#5B82FA

#5B82FA is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.9% C 0.184 H 267.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5B82FA
RGBrgb(91, 130, 250)
HSLhsl(225, 94%, 67%)
HSVhsv(225, 64%, 98%)
CMYKcmyk(63.6%, 48%, 0%, 2%)
CIE-LABlab(57.16, 23.36, -64.10)
CIE-LCHlch(57.16, 68.22, 290.02°)
OKLaboklab(63.91% -0.0081 -0.1836)
OKLCHoklch(63.91% 0.184 267.5)
XYZxyz(29.5464, 25.0888, 93.7095)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82FA #FAD35B
analogous
#5BD2FA #5B82FA #845BFA
triadic
#5B82FA #FA5B82 #82FA5B
tetradic
#5B82FA #FA5BD2 #FAD35B #5BFA84
square
#5B82FA #FA5BD2 #FAD35B #5BFA84
split-complementary
#5B82FA #FA845B #D2FA5B
monochromatic
#0639D4 #2055F8 #5B82FA #96AFFC #D2DDFE

Accessibility & contrast

On white

3.49
#5B82FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5B82FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82FA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82FA#FFFFFF#000000##000000
##5B82FA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FE
Deuteranopia (green-blind)
#1D82F8
Tritanopia (blue-blind)
#009EB2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b82fa;
/* rgb */ color: rgb(91, 130, 250);
/* oklch */ color: oklch(63.9% 0.184 267.5);
Tailwind
colors: {
  custom: {
    50: '#98a5fd',
    500: '#5b82fa',
    950: '#000000',
  },
}
SCSS
$custom: #5b82fa;
$custom-light: #98a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82fa",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 225.283,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63913,
    "c": 0.18375,
    "h": 267.5
  },
  "luminance": 0.25092
}

Semantic roles & 50–950 ramp

primary
#5B82FA
secondary
#F2E5BF
accent
#AD00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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