#5D7BED#5D7BED

#5D7BED is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.174 H 269.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5D7BED
RGBrgb(93, 123, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(60.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(54.66, 23.61, -60.90)
CIE-LCHlch(54.66, 65.32, 291.19°)
OKLaboklab(61.79% -0.0011 -0.1742)
OKLCHoklch(61.79% 0.174 269.6)
XYZxyz(26.8781, 22.6052, 83.0512)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BED #EDCF5D
analogous
#5DC3ED #5D7BED #875DED
triadic
#5D7BED #ED5D7B #7BED5D
tetradic
#5D7BED #ED5DC3 #EDCF5D #5DED87
square
#5D7BED #ED5DC3 #EDCF5D #5DED87
split-complementary
#5D7BED #ED875D #C3ED5D
monochromatic
#1537BB #264EE7 #5D7BED #94A8F3 #CBD5F9

Accessibility & contrast

On white

3.80
#5D7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5D7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BED#FFFFFF#000000##000000
##5D7BED1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF1
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7bed;
/* rgb */ color: rgb(93, 123, 237);
/* oklch */ color: oklch(61.8% 0.174 269.6);
Tailwind
colors: {
  custom: {
    50: '#97a0f3',
    500: '#5d7bed',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bed;
$custom-light: #97a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bed",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 227.5,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.17422,
    "h": 269.6
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#5D7BED
secondary
#ECE1BA
accent
#B009DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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