#5B7CF1#5B7CF1

#5B7CF1 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.179 H 268.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF1
RGBrgb(91, 124, 241)
HSLhsl(227, 84%, 65%)
HSVhsv(227, 62%, 95%)
CMYKcmyk(62.2%, 48.5%, 0%, 5.5%)
CIE-LABlab(55.06, 23.98, -62.50)
CIE-LCHlch(55.06, 66.94, 290.99°)
OKLaboklab(62.14% -0.0035 -0.1789)
OKLCHoklch(62.14% 0.179 268.9)
XYZxyz(27.3938, 22.9879, 86.1955)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF1 #F1D05B
analogous
#5BC7F1 #5B7CF1 #855BF1
triadic
#5B7CF1 #F15B7C #7CF15B
tetradic
#5B7CF1 #F15BC7 #F1D05B #5BF185
square
#5B7CF1 #F15BC7 #F1D05B #5BF185
split-complementary
#5B7CF1 #F1855B #C7F15B
monochromatic
#1037C1 #234FEC #5B7CF1 #93A9F6 #CCD6FB

Accessibility & contrast

On white

3.75
#5B7CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5B7CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF1#FFFFFF#000000##000000
##5B7CF11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF5
Deuteranopia (green-blind)
#1C7DEF
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7cf1;
/* rgb */ color: rgb(91, 124, 241);
/* oklch */ color: oklch(62.1% 0.179 268.9);
Tailwind
colors: {
  custom: {
    50: '#97a1f6',
    500: '#5b7cf1',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf1;
$custom-light: #97a1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf1",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 226.8,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62137,
    "c": 0.17898,
    "h": 268.9
  },
  "luminance": 0.2299
}

Semantic roles & 50–950 ramp

primary
#5B7CF1
secondary
#EDE2BA
accent
#B005E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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