#5B7BEF#5B7BEF

#5B7BEF is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.177 H 269.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5B7BEF
RGBrgb(91, 123, 239)
HSLhsl(227, 82%, 65%)
HSVhsv(227, 62%, 94%)
CMYKcmyk(61.9%, 48.5%, 0%, 6.3%)
CIE-LABlab(54.68, 23.92, -62.00)
CIE-LCHlch(54.68, 66.45, 291.10°)
OKLaboklab(61.81% -0.0028 -0.1775)
OKLCHoklch(61.81% 0.178 269.1)
XYZxyz(26.9721, 22.6197, 84.5893)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BEF #EFCF5B
analogous
#5BC5EF #5B7BEF #855BEF
triadic
#5B7BEF #EF5B7B #7BEF5B
tetradic
#5B7BEF #EF5BC5 #EFCF5B #5BEF85
square
#5B7BEF #EF5BC5 #EFCF5B #5BEF85
split-complementary
#5B7BEF #EF855B #C5EF5B
monochromatic
#1237BD #234EEA #5B7BEF #93A8F4 #CBD5FA

Accessibility & contrast

On white

3.80
#5B7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5B7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BEF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BEF#FFFFFF#000000##000000
##5B7BEF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b7bef;
/* rgb */ color: rgb(91, 123, 239);
/* oklch */ color: oklch(61.8% 0.177 269.1);
Tailwind
colors: {
  custom: {
    50: '#96a0f5',
    500: '#5b7bef',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bef;
$custom-light: #96a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bef",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 227.027,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61807,
    "c": 0.1775,
    "h": 269.1
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#5B7BEF
secondary
#ECE1BA
accent
#B007DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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