#5B7FF4#5B7FF4

#5B7FF4 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.179 H 268.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF4
RGBrgb(91, 127, 244)
HSLhsl(226, 87%, 66%)
HSVhsv(226, 63%, 96%)
CMYKcmyk(62.7%, 48%, 0%, 4.3%)
CIE-LABlab(56.02, 23.16, -62.62)
CIE-LCHlch(56.02, 66.76, 290.30°)
OKLaboklab(62.93% -0.006 -0.1792)
OKLCHoklch(62.93% 0.179 268.1)
XYZxyz(28.2273, 23.9320, 88.7022)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF4 #F4D05B
analogous
#5BCCF4 #5B7FF4 #835BF4
triadic
#5B7FF4 #F45B7F #7FF45B
tetradic
#5B7FF4 #F45BCC #F4D05B #5BF483
square
#5B7FF4 #F45BCC #F4D05B #5BF483
split-complementary
#5B7FF4 #F4835B #CCF45B
monochromatic
#0D39C7 #2252F0 #5B7FF4 #94ACF8 #CED9FC

Accessibility & contrast

On white

3.63
#5B7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5B7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF4#FFFFFF#000000##000000
##5B7FF41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#2180F2
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ff4;
/* rgb */ color: rgb(91, 127, 244);
/* oklch */ color: oklch(62.9% 0.179 268.1);
Tailwind
colors: {
  custom: {
    50: '#97a3f8',
    500: '#5b7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff4;
$custom-light: #97a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff4",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 225.882,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.17935,
    "h": 268.1
  },
  "luminance": 0.23935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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