#5B7EE8#5B7EE8

#5B7EE8 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.164 H 267.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5B7EE8
RGBrgb(91, 126, 232)
HSLhsl(225, 75%, 63%)
HSVhsv(225, 61%, 91%)
CMYKcmyk(60.8%, 45.7%, 0%, 9%)
CIE-LABlab(55.04, 19.75, -57.51)
CIE-LCHlch(55.04, 60.81, 288.96°)
OKLaboklab(61.95% -0.0066 -0.1643)
OKLCHoklch(61.95% 0.164 267.7)
XYZxyz(26.3358, 22.9698, 79.3741)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EE8 #E8C55B
analogous
#5BC5E8 #5B7EE8 #7E5BE8
triadic
#5B7EE8 #E85B7E #7EE85B
tetradic
#5B7EE8 #E85BC5 #E8C55B #5BE87E
square
#5B7EE8 #E85BC5 #E8C55B #5BE87E
split-complementary
#5B7EE8 #E87E5B #C5E85B
monochromatic
#193EB0 #2554E0 #5B7EE8 #91A8F0 #C6D2F7

Accessibility & contrast

On white

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

On black

5.59
#5B7EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7EE8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7EE8#FFFFFF#000000##000000
##5B7EE81.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEC
Deuteranopia (green-blind)
#347EE6
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7ee8;
/* rgb */ color: rgb(91, 126, 232);
/* oklch */ color: oklch(61.9% 0.164 267.7);
Tailwind
colors: {
  custom: {
    50: '#95a2f0',
    500: '#5b7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ee8;
$custom-light: #95a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ee8",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 225.106,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.16439,
    "h": 267.7
  },
  "luminance": 0.22972
}

Semantic roles & 50–950 ramp

primary
#5B7EE8
secondary
#E9DCB6
accent
#A60ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5B7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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