#5B7FF9#5B7FF9

#5B7FF9 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.3% C 0.186 H 268.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF9
RGBrgb(91, 127, 249)
HSLhsl(226, 93%, 67%)
HSVhsv(226, 63%, 98%)
CMYKcmyk(63.5%, 49%, 0%, 2.4%)
CIE-LABlab(56.33, 24.84, -64.89)
CIE-LCHlch(56.33, 69.48, 290.95°)
OKLaboklab(63.26% -0.0054 -0.1859)
OKLCHoklch(63.26% 0.186 268.3)
XYZxyz(28.9968, 24.2398, 92.7548)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF9 #F9D55B
analogous
#5BCEF9 #5B7FF9 #865BF9
triadic
#5B7FF9 #F95B7F #7FF95B
tetradic
#5B7FF9 #F95BCE #F9D55B #5BF986
square
#5B7FF9 #F95BCE #F9D55B #5BF986
split-complementary
#5B7FF9 #F9865B #CEF95B
monochromatic
#0836D2 #2051F7 #5B7FF9 #96ADFB #D1DBFD

Accessibility & contrast

On white

3.59
#5B7FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5B7FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF9#FFFFFF#000000##000000
##5B7FF91.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFD
Deuteranopia (green-blind)
#1080F6
Tritanopia (blue-blind)
#009BB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b7ff9;
/* rgb */ color: rgb(91, 127, 249);
/* oklch */ color: oklch(63.3% 0.186 268.3);
Tailwind
colors: {
  custom: {
    50: '#98a3fc',
    500: '#5b7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff9;
$custom-light: #98a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff9",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 226.329,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.18602,
    "h": 268.3
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#5B7FF9
secondary
#F1E6BE
accent
#B100E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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