#5B7BF2#5B7BF2

#5B7BF2 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.182 H 269.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5B7BF2
RGBrgb(91, 123, 242)
HSLhsl(227, 85%, 65%)
HSVhsv(227, 62%, 95%)
CMYKcmyk(62.4%, 49.2%, 0%, 5.1%)
CIE-LABlab(54.86, 24.93, -63.37)
CIE-LCHlch(54.86, 68.09, 291.47°)
OKLaboklab(62.01% -0.0025 -0.1815)
OKLCHoklch(62.01% 0.182 269.2)
XYZxyz(27.4189, 22.7985, 86.9428)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BF2 #F2D25B
analogous
#5BC6F2 #5B7BF2 #875BF2
triadic
#5B7BF2 #F25B7B #7BF25B
tetradic
#5B7BF2 #F25BC6 #F2D25B #5BF287
square
#5B7BF2 #F25BC6 #F2D25B #5BF287
split-complementary
#5B7BF2 #F2875B #C6F25B
monochromatic
#0F36C3 #224DEE #5B7BF2 #94A9F6 #CCD6FB

Accessibility & contrast

On white

3.78
#5B7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5B7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BF2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BF2#FFFFFF#000000##000000
##5B7BF21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#137DF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b7bf2;
/* rgb */ color: rgb(91, 123, 242);
/* oklch */ color: oklch(62.0% 0.182 269.2);
Tailwind
colors: {
  custom: {
    50: '#97a0f7',
    500: '#5b7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bf2;
$custom-light: #97a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bf2",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 227.285,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62008,
    "c": 0.18153,
    "h": 269.2
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#5B7BF2
secondary
#EEE3BB
accent
#B304E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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