#5B7EFF#5B7EFF

#5B7EFF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.195 H 268.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5B7EFF
RGBrgb(91, 126, 255)
HSLhsl(227, 100%, 68%)
HSVhsv(227, 64%, 100%)
CMYKcmyk(64.3%, 50.6%, 0%, 0%)
CIE-LABlab(56.45, 27.46, -68.00)
CIE-LCHlch(56.45, 73.34, 291.99°)
OKLaboklab(63.47% -0.004 -0.1951)
OKLCHoklch(63.47% 0.195 268.8)
XYZxyz(29.8191, 24.3631, 97.7195)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EFF #FFDC5B
analogous
#5BD0FF #5B7EFF #8A5BFF
triadic
#5B7EFF #FF5B7E #7EFF5B
tetradic
#5B7EFF #FF5BD0 #FFDC5B #5BFF8A
square
#5B7EFF #FF5BD0 #FFDC5B #5BFF8A
split-complementary
#5B7EFF #FF8A5B #D0FF5B
monochromatic
#0030E0 #1E4EFF #5B7EFF #98AEFF #D5DEFF

Accessibility & contrast

On white

3.58
#5B7EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5B7EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7EFF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7EFF#FFFFFF#000000##000000
##5B7EFF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#009CB3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b7eff;
/* rgb */ color: rgb(91, 126, 255);
/* oklch */ color: oklch(63.5% 0.195 268.8);
Tailwind
colors: {
  custom: {
    50: '#99a2ff',
    500: '#5b7eff',
    950: '#000000',
  },
}
SCSS
$custom: #5b7eff;
$custom-light: #99a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7eff",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 227.195,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63472,
    "c": 0.19515,
    "h": 268.8
  },
  "luminance": 0.24366
}

Semantic roles & 50–950 ramp

primary
#5B7EFF
secondary
#F4E9C2
accent
#B500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86

Preview Lab

Preview with #5B7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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