#5B7AF0#5B7AF0

#5B7AF0 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.180 H 269.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5B7AF0
RGBrgb(91, 122, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(62.1%, 49.2%, 0%, 5.9%)
CIE-LABlab(54.48, 24.87, -62.87)
CIE-LCHlch(54.48, 67.61, 291.58°)
OKLaboklab(61.68% -0.0017 -0.1801)
OKLCHoklch(61.68% 0.18 269.4)
XYZxyz(26.9968, 22.4321, 85.3283)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7AF0 #F0D15B
analogous
#5BC4F0 #5B7AF0 #875BF0
triadic
#5B7AF0 #F05B7A #7AF05B
tetradic
#5B7AF0 #F05BC4 #F0D15B #5BF087
square
#5B7AF0 #F05BC4 #F0D15B #5BF087
split-complementary
#5B7AF0 #F0875B #C4F05B
monochromatic
#1136BF #234DEB #5B7AF0 #93A7F5 #CBD5FA

Accessibility & contrast

On white

3.83
#5B7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5B7AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7AF0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7AF0#FFFFFF#000000##000000
##5B7AF01.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#157CEE
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7af0;
/* rgb */ color: rgb(91, 122, 240);
/* oklch */ color: oklch(61.7% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#97a0f6',
    500: '#5b7af0',
    950: '#000000',
  },
}
SCSS
$custom: #5b7af0;
$custom-light: #97a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7af0",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 227.517,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.18007,
    "h": 269.4
  },
  "luminance": 0.22434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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