#5B7FF1#5B7FF1

#5B7FF1 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.175 H 267.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF1
RGBrgb(91, 127, 241)
HSLhsl(226, 84%, 65%)
HSVhsv(226, 62%, 95%)
CMYKcmyk(62.2%, 47.3%, 0%, 5.5%)
CIE-LABlab(55.84, 22.15, -61.25)
CIE-LCHlch(55.84, 65.13, 289.89°)
OKLaboklab(62.73% -0.0064 -0.1752)
OKLCHoklch(62.73% 0.175 267.9)
XYZxyz(27.7755, 23.7513, 86.3228)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF1 #F1CD5B
analogous
#5BCAF1 #5B7FF1 #825BF1
triadic
#5B7FF1 #F15B7F #7FF15B
tetradic
#5B7FF1 #F15BCA #F1CD5B #5BF182
square
#5B7FF1 #F15BCA #F1CD5B #5BF182
split-complementary
#5B7FF1 #F1825B #CAF15B
monochromatic
#103BC1 #2353EC #5B7FF1 #93ABF6 #CCD7FB

Accessibility & contrast

On white

3.65
#5B7FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5B7FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF1#FFFFFF#000000##000000
##5B7FF11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#458DF5
Deuteranopia (green-blind)
#277FEF
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ff1;
/* rgb */ color: rgb(91, 127, 241);
/* oklch */ color: oklch(62.7% 0.175 267.9);
Tailwind
colors: {
  custom: {
    50: '#97a3f6',
    500: '#5b7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff1;
$custom-light: #97a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff1",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 225.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62729,
    "c": 0.17534,
    "h": 267.9
  },
  "luminance": 0.23754
}

Semantic roles & 50–950 ramp

primary
#5B7FF1
secondary
#EDE1BA
accent
#AC05E1
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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