#5B7EF4#5B7EF4

#5B7EF4 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.7% C 0.181 H 268.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5B7EF4
RGBrgb(91, 126, 244)
HSLhsl(226, 87%, 66%)
HSVhsv(226, 63%, 96%)
CMYKcmyk(62.7%, 48.4%, 0%, 4.3%)
CIE-LABlab(55.76, 23.77, -63.03)
CIE-LCHlch(55.76, 67.37, 290.66°)
OKLaboklab(62.73% -0.0051 -0.1805)
OKLCHoklch(62.73% 0.181 268.4)
XYZxyz(28.0988, 23.6750, 88.6594)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EF4 #F4D15B
analogous
#5BCAF4 #5B7EF4 #855BF4
triadic
#5B7EF4 #F45B7E #7EF45B
tetradic
#5B7EF4 #F45BCA #F4D15B #5BF485
square
#5B7EF4 #F45BCA #F4D15B #5BF485
split-complementary
#5B7EF4 #F4855B #CAF45B
monochromatic
#0D38C7 #2251F0 #5B7EF4 #94ABF8 #CED8FC

Accessibility & contrast

On white

3.66
#5B7EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5B7EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7EF4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7EF4#FFFFFF#000000##000000
##5B7EF41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF8
Deuteranopia (green-blind)
#1C7FF2
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ef4;
/* rgb */ color: rgb(91, 126, 244);
/* oklch */ color: oklch(62.7% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#97a2f8',
    500: '#5b7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ef4;
$custom-light: #97a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ef4",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 226.275,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62729,
    "c": 0.18056,
    "h": 268.4
  },
  "luminance": 0.23678
}

Semantic roles & 50–950 ramp

primary
#5B7EF4
secondary
#EFE3BC
accent
#B002E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5B7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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