#5B7FFF#5B7FFF

#5B7FFF is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.7% C 0.194 H 268.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5B7FFF
RGBrgb(91, 127, 255)
HSLhsl(227, 100%, 68%)
HSVhsv(227, 64%, 100%)
CMYKcmyk(64.3%, 50.2%, 0%, 0%)
CIE-LABlab(56.70, 26.86, -67.59)
CIE-LCHlch(56.70, 72.73, 291.67°)
OKLaboklab(63.66% -0.0048 -0.1939)
OKLCHoklch(63.66% 0.194 268.6)
XYZxyz(29.9476, 24.6201, 97.7623)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FFF #FFDB5B
analogous
#5BD1FF #5B7FFF #895BFF
triadic
#5B7FFF #FF5B7F #7FFF5B
tetradic
#5B7FFF #FF5BD1 #FFDB5B #5BFF89
square
#5B7FFF #FF5BD1 #FFDB5B #5BFF89
split-complementary
#5B7FFF #FF895B #D1FF5B
monochromatic
#0031E0 #1E4FFF #5B7FFF #98AFFF #D5DFFF

Accessibility & contrast

On white

3.54
#5B7FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5B7FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FFF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FFF#FFFFFF#000000##000000
##5B7FFF1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3490FF
Deuteranopia (green-blind)
#0081FC
Tritanopia (blue-blind)
#009DB3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b7fff;
/* rgb */ color: rgb(91, 127, 255);
/* oklch */ color: oklch(63.7% 0.194 268.6);
Tailwind
colors: {
  custom: {
    50: '#99a3ff',
    500: '#5b7fff',
    950: '#000000',
  },
}
SCSS
$custom: #5b7fff;
$custom-light: #99a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7fff",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 226.829,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.19395,
    "h": 268.6
  },
  "luminance": 0.24623
}

Semantic roles & 50–950 ramp

primary
#5B7FFF
secondary
#F4E9C2
accent
#B300E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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