#5B7FF5#5B7FF5

#5B7FF5 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.181 H 268.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF5
RGBrgb(91, 127, 245)
HSLhsl(226, 89%, 66%)
HSVhsv(226, 63%, 96%)
CMYKcmyk(62.9%, 48.2%, 0%, 3.9%)
CIE-LABlab(56.08, 23.50, -63.07)
CIE-LCHlch(56.08, 67.31, 290.43°)
OKLaboklab(62.99% -0.0059 -0.1806)
OKLCHoklch(62.99% 0.181 268.1)
XYZxyz(28.3796, 23.9929, 89.5040)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF5 #F5D15B
analogous
#5BCCF5 #5B7FF5 #845BF5
triadic
#5B7FF5 #F55B7F #7FF55B
tetradic
#5B7FF5 #F55BCC #F5D15B #5BF584
square
#5B7FF5 #F55BCC #F5D15B #5BF584
split-complementary
#5B7FF5 #F5845B #CCF55B
monochromatic
#0C38C9 #2152F1 #5B7FF5 #95ACF9 #CED9FC

Accessibility & contrast

On white

3.62
#5B7FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5B7FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF5#FFFFFF#000000##000000
##5B7FF51.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#1E80F3
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ff5;
/* rgb */ color: rgb(91, 127, 245);
/* oklch */ color: oklch(63.0% 0.181 268.1);
Tailwind
colors: {
  custom: {
    50: '#97a3f9',
    500: '#5b7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff5;
$custom-light: #97a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff5",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 225.974,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62992,
    "c": 0.1807,
    "h": 268.1
  },
  "luminance": 0.23995
}

Semantic roles & 50–950 ramp

primary
#5B7FF5
secondary
#EFE3BC
accent
#B000E5
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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