#5B91EB#5B91EB

#5B91EB is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.146 H 260.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5B91EB
RGBrgb(91, 145, 235)
HSLhsl(218, 78%, 64%)
HSVhsv(218, 61%, 92%)
CMYKcmyk(61.3%, 38.3%, 0%, 7.8%)
CIE-LABlab(60.31, 9.33, -50.78)
CIE-LCHlch(60.31, 51.63, 280.42°)
OKLaboklab(66.06% -0.0252 -0.1443)
OKLCHoklch(66.06% 0.146 260.1)
XYZxyz(29.4299, 28.4704, 82.5256)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91EB #EBB55B
analogous
#5BD9EB #5B91EB #6D5BEB
triadic
#5B91EB #EB5B91 #91EB5B
tetradic
#5B91EB #EB5BD9 #EBB55B #5BEB6D
square
#5B91EB #EB5BD9 #EBB55B #5BEB6D
split-complementary
#5B91EB #EB6D5B #D9EB5B
monochromatic
#1652B5 #246CE4 #5B91EB #92B6F2 #C8DAF8

Accessibility & contrast

On white

3.14
#5B91EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5B91EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91EB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91EB#FFFFFF#000000##000000
##5B91EB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b91eb;
/* rgb */ color: rgb(91, 145, 235);
/* oklch */ color: oklch(66.1% 0.146 260.1);
Tailwind
colors: {
  custom: {
    50: '#95b0f2',
    500: '#5b91eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b91eb;
$custom-light: #95b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91eb",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 217.5,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66061,
    "c": 0.14646,
    "h": 260.1
  },
  "luminance": 0.28473
}

Semantic roles & 50–950 ramp

primary
#5B91EB
secondary
#EAD7B8
accent
#8D0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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