#5B7EE5#5B7EE5

#5B7EE5 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.160 H 267.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5B7EE5
RGBrgb(91, 126, 229)
HSLhsl(225, 73%, 63%)
HSVhsv(225, 60%, 90%)
CMYKcmyk(60.3%, 45%, 0%, 10.2%)
CIE-LABlab(54.87, 18.75, -56.12)
CIE-LCHlch(54.87, 59.17, 288.48°)
OKLaboklab(61.76% -0.0071 -0.1601)
OKLCHoklch(61.76% 0.16 267.5)
XYZxyz(25.9133, 22.8008, 77.1490)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EE5 #E5C25B
analogous
#5BC3E5 #5B7EE5 #7D5BE5
triadic
#5B7EE5 #E55B7E #7EE55B
tetradic
#5B7EE5 #E55BC3 #E5C25B #5BE57D
square
#5B7EE5 #E55BC3 #E5C25B #5BE57D
split-complementary
#5B7EE5 #E57D5B #C3E55B
monochromatic
#1B3FAB #2654DD #5B7EE5 #90A8ED #C5D1F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7EE5#FFFFFF#000000##000000
##5B7EE51.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)
#4D8AE9
Deuteranopia (green-blind)
#387DE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b7ee5;
/* rgb */ color: rgb(91, 126, 229);
/* oklch */ color: oklch(61.8% 0.160 267.5);
Tailwind
colors: {
  custom: {
    50: '#95a2ee',
    500: '#5b7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ee5;
$custom-light: #95a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ee5",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 224.783,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.16031,
    "h": 267.5
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#5B7EE5
secondary
#E7DAB5
accent
#A311D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5B7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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