#5B91F2#5B91F2

#5B91F2 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.5% C 0.156 H 261.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5B91F2
RGBrgb(91, 145, 242)
HSLhsl(219, 85%, 65%)
HSVhsv(219, 62%, 95%)
CMYKcmyk(62.4%, 40.1%, 0%, 5.1%)
CIE-LABlab(60.68, 11.66, -54.06)
CIE-LCHlch(60.68, 55.31, 282.17°)
OKLaboklab(66.47% -0.0238 -0.1539)
OKLCHoklch(66.47% 0.156 261.2)
XYZxyz(30.4612, 28.8829, 87.9569)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91F2 #F2BC5B
analogous
#5BDDF2 #5B91F2 #705BF2
triadic
#5B91F2 #F25B91 #91F25B
tetradic
#5B91F2 #F25BDD #F2BC5B #5BF270
square
#5B91F2 #F25BDD #F2BC5B #5BF270
split-complementary
#5B91F2 #F2705B #DDF25B
monochromatic
#0F50C3 #226BEE #5B91F2 #94B7F6 #CCDDFB

Accessibility & contrast

On white

3.10
#5B91F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5B91F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91F2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91F2#FFFFFF#000000##000000
##5B91F21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#00A7B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5b91f2;
/* rgb */ color: rgb(91, 145, 242);
/* oklch */ color: oklch(66.5% 0.156 261.2);
Tailwind
colors: {
  custom: {
    50: '#96b0f7',
    500: '#5b91f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b91f2;
$custom-light: #96b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91f2",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 218.543,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.15571,
    "h": 261.2
  },
  "luminance": 0.28886
}

Semantic roles & 50–950 ramp

primary
#5B91F2
secondary
#EEDCBB
accent
#9204E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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