#5D7BEB#5D7BEB

#5D7BEB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.172 H 269.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D7BEB
RGBrgb(93, 123, 235)
HSLhsl(227, 78%, 64%)
HSVhsv(227, 60%, 92%)
CMYKcmyk(60.4%, 47.7%, 0%, 7.8%)
CIE-LABlab(54.54, 22.94, -59.98)
CIE-LCHlch(54.54, 64.22, 290.93°)
OKLaboklab(61.65% -0.0014 -0.1715)
OKLCHoklch(61.65% 0.172 269.5)
XYZxyz(26.5875, 22.4890, 81.5209)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BEB #EBCD5D
analogous
#5DC2EB #5D7BEB #865DEB
triadic
#5D7BEB #EB5D7B #7BEB5D
tetradic
#5D7BEB #EB5DC2 #EBCD5D #5DEB86
square
#5D7BEB #EB5DC2 #EBCD5D #5DEB86
split-complementary
#5D7BEB #EB865D #C2EB5D
monochromatic
#1738B7 #274FE4 #5D7BEB #93A7F2 #CAD4F8

Accessibility & contrast

On white

3.82
#5D7BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5D7BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BEB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BEB#FFFFFF#000000##000000
##5D7BEB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#287CE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7beb;
/* rgb */ color: rgb(93, 123, 235);
/* oklch */ color: oklch(61.7% 0.172 269.5);
Tailwind
colors: {
  custom: {
    50: '#97a0f2',
    500: '#5d7beb',
    950: '#000000',
  },
}
SCSS
$custom: #5d7beb;
$custom-light: #97a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7beb",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 227.324,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.17152,
    "h": 269.5
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#5D7BEB
secondary
#EBE0B9
accent
#AF0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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