#5D7FF2#5D7FF2

#5D7FF2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.176 H 268.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5D7FF2
RGBrgb(93, 127, 242)
HSLhsl(226, 85%, 66%)
HSVhsv(226, 62%, 95%)
CMYKcmyk(61.6%, 47.5%, 0%, 5.1%)
CIE-LABlab(56.00, 22.83, -61.53)
CIE-LCHlch(56.00, 65.63, 290.36°)
OKLaboklab(62.9% -0.0044 -0.176)
OKLCHoklch(62.9% 0.176 268.6)
XYZxyz(28.1251, 23.9143, 87.1210)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FF2 #F2D05D
analogous
#5DC9F2 #5D7FF2 #855DF2
triadic
#5D7FF2 #F25D7F #7FF25D
tetradic
#5D7FF2 #F25DC9 #F2D05D #5DF285
square
#5D7FF2 #F25DC9 #F2D05D #5DF285
split-complementary
#5D7FF2 #F2855D #C9F25D
monochromatic
#1039C5 #2452ED #5D7FF2 #96ACF7 #CED9FB

Accessibility & contrast

On white

3.63
#5D7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5D7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FF2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FF2#FFFFFF#000000##000000
##5D7FF21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d7ff2;
/* rgb */ color: rgb(93, 127, 242);
/* oklch */ color: oklch(62.9% 0.176 268.6);
Tailwind
colors: {
  custom: {
    50: '#98a3f7',
    500: '#5d7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ff2;
$custom-light: #98a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ff2",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 226.309,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62901,
    "c": 0.17607,
    "h": 268.6
  },
  "luminance": 0.23917
}

Semantic roles & 50–950 ramp

primary
#5D7FF2
secondary
#EEE3BD
accent
#AF04E2
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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