#5B7EDD#5B7EDD

#5B7EDD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.149 H 266.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5B7EDD
RGBrgb(91, 126, 221)
HSLhsl(224, 66%, 61%)
HSVhsv(224, 59%, 87%)
CMYKcmyk(58.8%, 43%, 0%, 13.3%)
CIE-LABlab(54.41, 16.10, -52.36)
CIE-LCHlch(54.41, 54.78, 287.09°)
OKLaboklab(61.26% -0.0084 -0.1491)
OKLCHoklch(61.26% 0.149 266.8)
XYZxyz(24.8220, 22.3643, 71.4013)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EDD #DDBA5B
analogous
#5BBFDD #5B7EDD #795BDD
triadic
#5B7EDD #DD5B7E #7EDD5B
tetradic
#5B7EDD #DD5BBF #DDBA5B #5BDD79
square
#5B7EDD #DD5BBF #DDBA5B #5BDD79
split-complementary
#5B7EDD #DD795B #BFDD5B
monochromatic
#21429D #2B57D0 #5B7EDD #8EA6E8 #C0CEF2

Accessibility & contrast

On white

3.84
#5B7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5B7EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7EDD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7EDD#FFFFFF#000000##000000
##5B7EDD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#417DDB
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7edd;
/* rgb */ color: rgb(91, 126, 221);
/* oklch */ color: oklch(61.3% 0.149 266.8);
Tailwind
colors: {
  custom: {
    50: '#94a3e8',
    500: '#5b7edd',
    950: '#000000',
  },
}
SCSS
$custom: #5b7edd;
$custom-light: #94a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7edd",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 223.846,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.14936,
    "h": 266.8
  },
  "luminance": 0.22366
}

Semantic roles & 50–950 ramp

primary
#5B7EDD
secondary
#E2D5B1
accent
#9D18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5B7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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