#5B7DF6#5B7DF6

#5B7DF6 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.7% C 0.184 H 268.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B7DF6
RGBrgb(91, 125, 246)
HSLhsl(227, 90%, 66%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(63%, 49.2%, 0%, 3.5%)
CIE-LABlab(55.63, 25.05, -64.36)
CIE-LCHlch(55.63, 69.06, 291.27°)
OKLaboklab(62.67% -0.0039 -0.1844)
OKLCHoklch(62.67% 0.184 268.8)
XYZxyz(28.2769, 23.5427, 90.2249)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DF6 #F6D45B
analogous
#5BCAF6 #5B7DF6 #865BF6
triadic
#5B7DF6 #F65B7D #7DF65B
tetradic
#5B7DF6 #F65BCA #F6D45B #5BF686
square
#5B7DF6 #F65BCA #F6D45B #5BF686
split-complementary
#5B7DF6 #F6865B #CAF65B
monochromatic
#0B35CB #214FF3 #5B7DF6 #95ABF9 #CFD9FC

Accessibility & contrast

On white

3.68
#5B7DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5B7DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DF6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DF6#FFFFFF#000000##000000
##5B7DF61.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFA
Deuteranopia (green-blind)
#0F7FF4
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7df6;
/* rgb */ color: rgb(91, 125, 246);
/* oklch */ color: oklch(62.7% 0.184 268.8);
Tailwind
colors: {
  custom: {
    50: '#97a2fa',
    500: '#5b7df6',
    950: '#000000',
  },
}
SCSS
$custom: #5b7df6;
$custom-light: #97a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7df6",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 226.839,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.18444,
    "h": 268.8
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#5B7DF6
secondary
#F0E5BD
accent
#B300E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5B7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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