#5B7EF6#5B7EF6

#5B7EF6 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.9% C 0.183 H 268.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B7EF6
RGBrgb(91, 126, 246)
HSLhsl(226, 90%, 66%)
HSVhsv(226, 63%, 96%)
CMYKcmyk(63%, 48.8%, 0%, 3.5%)
CIE-LABlab(55.88, 24.44, -63.94)
CIE-LCHlch(55.88, 68.46, 290.92°)
OKLaboklab(62.86% -0.0048 -0.1832)
OKLCHoklch(62.86% 0.183 268.5)
XYZxyz(28.4041, 23.7971, 90.2674)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EF6 #F6D35B
analogous
#5BCBF6 #5B7EF6 #855BF6
triadic
#5B7EF6 #F65B7E #7EF65B
tetradic
#5B7EF6 #F65BCB #F6D35B #5BF685
square
#5B7EF6 #F65BCB #F6D35B #5BF685
split-complementary
#5B7EF6 #F6855B #CBF65B
monochromatic
#0B37CB #2150F3 #5B7EF6 #95ACF9 #CFD9FC

Accessibility & contrast

On white

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

On black

5.76
#5B7EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7EF6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7EF6#FFFFFF#000000##000000
##5B7EF61.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#167FF4
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ef6;
/* rgb */ color: rgb(91, 126, 246);
/* oklch */ color: oklch(62.9% 0.183 268.5);
Tailwind
colors: {
  custom: {
    50: '#97a2fa',
    500: '#5b7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ef6;
$custom-light: #97a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ef6",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 226.452,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.18323,
    "h": 268.5
  },
  "luminance": 0.238
}

Semantic roles & 50–950 ramp

primary
#5B7EF6
secondary
#F0E4BD
accent
#B200E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5B7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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