#5D7EF2#5D7EF2

#5D7EF2 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.7% C 0.177 H 268.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5D7EF2
RGBrgb(93, 126, 242)
HSLhsl(227, 85%, 66%)
HSVhsv(227, 62%, 95%)
CMYKcmyk(61.6%, 47.9%, 0%, 5.1%)
CIE-LABlab(55.74, 23.44, -61.95)
CIE-LCHlch(55.74, 66.24, 290.73°)
OKLaboklab(62.7% -0.0034 -0.1773)
OKLCHoklch(62.7% 0.177 268.9)
XYZxyz(27.9966, 23.6573, 87.0781)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EF2 #F2D15D
analogous
#5DC9F2 #5D7EF2 #865DF2
triadic
#5D7EF2 #F25D7E #7EF25D
tetradic
#5D7EF2 #F25DC9 #F2D15D #5DF286
square
#5D7EF2 #F25DC9 #F2D15D #5DF286
split-complementary
#5D7EF2 #F2865D #C9F25D
monochromatic
#1038C5 #2451ED #5D7EF2 #96ABF7 #CED8FB

Accessibility & contrast

On white

3.66
#5D7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5D7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EF2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EF2#FFFFFF#000000##000000
##5D7EF21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#247FF0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d7ef2;
/* rgb */ color: rgb(93, 126, 242);
/* oklch */ color: oklch(62.7% 0.177 268.9);
Tailwind
colors: {
  custom: {
    50: '#98a2f7',
    500: '#5d7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ef2;
$custom-light: #98a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ef2",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 226.711,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62704,
    "c": 0.17729,
    "h": 268.9
  },
  "luminance": 0.2366
}

Semantic roles & 50–950 ramp

primary
#5D7EF2
secondary
#EEE3BD
accent
#B104E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5D7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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