#5D7FE6#5D7FE6

#5D7FE6 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.1% C 0.160 H 267.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5D7FE6
RGBrgb(93, 127, 230)
HSLhsl(225, 73%, 63%)
HSVhsv(225, 60%, 90%)
CMYKcmyk(59.6%, 44.8%, 0%, 9.8%)
CIE-LABlab(55.30, 18.85, -55.98)
CIE-LCHlch(55.30, 59.07, 288.61°)
OKLaboklab(62.13% -0.0061 -0.1597)
OKLCHoklch(62.13% 0.16 267.8)
XYZxyz(26.3817, 23.2169, 77.9386)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FE6 #E6C45D
analogous
#5DC4E6 #5D7FE6 #7F5DE6
triadic
#5D7FE6 #E65D7F #7FE65D
tetradic
#5D7FE6 #E65DC4 #E6C45D #5DE67F
square
#5D7FE6 #E65DC4 #E6C45D #5DE67F
split-complementary
#5D7FE6 #E67F5D #C4E65D
monochromatic
#1B3FAE #2855DE #5D7FE6 #92A9EE #C7D3F6

Accessibility & contrast

On white

3.72
#5D7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5D7FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FE6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FE6#FFFFFF#000000##000000
##5D7FE61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BEA
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7fe6;
/* rgb */ color: rgb(93, 127, 230);
/* oklch */ color: oklch(62.1% 0.160 267.8);
Tailwind
colors: {
  custom: {
    50: '#96a3ee',
    500: '#5d7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fe6;
$custom-light: #96a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fe6",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 225.109,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.15982,
    "h": 267.8
  },
  "luminance": 0.23219
}

Semantic roles & 50–950 ramp

primary
#5D7FE6
secondary
#E8DCB7
accent
#A410D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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