#5D7FE5#5D7FE5

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

Color values

HEX#5D7FE5
RGBrgb(93, 127, 229)
HSLhsl(225, 72%, 63%)
HSVhsv(225, 59%, 90%)
CMYKcmyk(59.4%, 44.5%, 0%, 10.2%)
CIE-LABlab(55.24, 18.52, -55.52)
CIE-LCHlch(55.24, 58.52, 288.45°)
OKLaboklab(62.07% -0.0062 -0.1583)
OKLCHoklch(62.07% 0.158 267.8)
XYZxyz(26.2416, 23.1609, 77.2012)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FE5 #E5C35D
analogous
#5DC3E5 #5D7FE5 #7F5DE5
triadic
#5D7FE5 #E55D7F #7FE55D
tetradic
#5D7FE5 #E55DC3 #E5C35D #5DE57F
square
#5D7FE5 #E55DC3 #E5C35D #5DE57F
split-complementary
#5D7FE5 #E57F5D #C3E55D
monochromatic
#1C40AC #2855DD #5D7FE5 #92A9ED #C6D2F6

Accessibility & contrast

On white

3.73
#5D7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5D7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FE5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FE5#FFFFFF#000000##000000
##5D7FE51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#3B7FE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7fe5;
/* rgb */ color: rgb(93, 127, 229);
/* oklch */ color: oklch(62.1% 0.158 267.8);
Tailwind
colors: {
  custom: {
    50: '#96a3ee',
    500: '#5d7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fe5;
$custom-light: #96a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fe5",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 225,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62071,
    "c": 0.15846,
    "h": 267.8
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

primary
#5D7FE5
secondary
#E7DBB7
accent
#A411D4
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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