#5B7BF0#5B7BF0

#5B7BF0 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.179 H 269.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5B7BF0
RGBrgb(91, 123, 240)
HSLhsl(227, 83%, 65%)
HSVhsv(227, 62%, 94%)
CMYKcmyk(62.1%, 48.7%, 0%, 5.9%)
CIE-LABlab(54.74, 24.26, -62.46)
CIE-LCHlch(54.74, 67.00, 291.23°)
OKLaboklab(61.87% -0.0027 -0.1788)
OKLCHoklch(61.87% 0.179 269.1)
XYZxyz(27.1202, 22.6790, 85.3695)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BF0 #F0D05B
analogous
#5BC6F0 #5B7BF0 #855BF0
triadic
#5B7BF0 #F05B7B #7BF05B
tetradic
#5B7BF0 #F05BC6 #F0D05B #5BF085
square
#5B7BF0 #F05BC6 #F0D05B #5BF085
split-complementary
#5B7BF0 #F0855B #C6F05B
monochromatic
#1137BF #234EEB #5B7BF0 #93A8F5 #CBD5FA

Accessibility & contrast

On white

3.79
#5B7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5B7BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BF0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BF0#FFFFFF#000000##000000
##5B7BF01.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF4
Deuteranopia (green-blind)
#1A7DEE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b7bf0;
/* rgb */ color: rgb(91, 123, 240);
/* oklch */ color: oklch(61.9% 0.179 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a0f6',
    500: '#5b7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bf0;
$custom-light: #97a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bf0",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 227.114,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.17885,
    "h": 269.1
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#5B7BF0
secondary
#EDE2BA
accent
#B106E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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