#5D7BEE#5D7BEE

#5D7BEE is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.176 H 269.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D7BEE
RGBrgb(93, 123, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(60.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(54.72, 23.94, -61.36)
CIE-LCHlch(54.72, 65.87, 291.31°)
OKLaboklab(61.85% -0.001 -0.1756)
OKLCHoklch(61.85% 0.176 269.7)
XYZxyz(27.0246, 22.6638, 83.8228)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BEE #EED05D
analogous
#5DC4EE #5D7BEE #875DEE
triadic
#5D7BEE #EE5D7B #7BEE5D
tetradic
#5D7BEE #EE5DC4 #EED05D #5DEE87
square
#5D7BEE #EE5DC4 #EED05D #5DEE87
split-complementary
#5D7BEE #EE875D #C4EE5D
monochromatic
#1437BD #264EE8 #5D7BEE #94A8F4 #CCD5FA

Accessibility & contrast

On white

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

On black

5.53
#5D7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BEE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BEE#FFFFFF#000000##000000
##5D7BEE1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#227DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7bee;
/* rgb */ color: rgb(93, 123, 238);
/* oklch */ color: oklch(61.9% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#97a0f4',
    500: '#5d7bee',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bee;
$custom-light: #97a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bee",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 227.586,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.17557,
    "h": 269.7
  },
  "luminance": 0.22666
}

Semantic roles & 50–950 ramp

primary
#5D7BEE
secondary
#ECE2BB
accent
#B108DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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