#5D7AEF#5D7AEF

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

Color values

HEX#5D7AEF
RGBrgb(93, 122, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(61.1%, 49%, 0%, 6.3%)
CIE-LABlab(54.53, 24.88, -62.23)
CIE-LCHlch(54.53, 67.02, 291.79°)
OKLaboklab(61.72% 0.0001 -0.1781)
OKLCHoklch(61.72% 0.178 270)
XYZxyz(27.0485, 22.4759, 84.5575)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AEF #EFD25D
analogous
#5DC3EF #5D7AEF #895DEF
triadic
#5D7AEF #EF5D7A #7AEF5D
tetradic
#5D7AEF #EF5DC3 #EFD25D #5DEF89
square
#5D7AEF #EF5DC3 #EFD25D #5DEF89
split-complementary
#5D7AEF #EF895D #C3EF5D
monochromatic
#1335BF #254CE9 #5D7AEF #95A8F5 #CCD5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7AEF#FFFFFF#000000##000000
##5D7AEF1.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)
#3C89F3
Deuteranopia (green-blind)
#1B7CED
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7aef;
/* rgb */ color: rgb(93, 122, 239);
/* oklch */ color: oklch(61.7% 0.178 270.0);
Tailwind
colors: {
  custom: {
    50: '#97a0f5',
    500: '#5d7aef',
    950: '#000000',
  },
}
SCSS
$custom: #5d7aef;
$custom-light: #97a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7aef",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 228.082,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.17814,
    "h": 270
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

primary
#5D7AEF
secondary
#EDE3BB
accent
#B407DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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