#5D7FE7#5D7FE7

#5D7FE7 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.2% C 0.161 H 267.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D7FE7
RGBrgb(93, 127, 231)
HSLhsl(225, 74%, 64%)
HSVhsv(225, 60%, 91%)
CMYKcmyk(59.7%, 45%, 0%, 9.4%)
CIE-LABlab(55.35, 19.18, -56.45)
CIE-LCHlch(55.35, 59.62, 288.77°)
OKLaboklab(62.2% -0.0059 -0.1611)
OKLCHoklch(62.2% 0.161 267.9)
XYZxyz(26.5225, 23.2732, 78.6803)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FE7 #E7C55D
analogous
#5DC4E7 #5D7FE7 #805DE7
triadic
#5D7FE7 #E75D7F #7FE75D
tetradic
#5D7FE7 #E75DC4 #E7C55D #5DE780
square
#5D7FE7 #E75DC4 #E7C55D #5DE780
split-complementary
#5D7FE7 #E7805D #C4E75D
monochromatic
#1A3FB0 #2855DF #5D7FE7 #92A9EF #C8D3F7

Accessibility & contrast

On white

3.71
#5D7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5D7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FE7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FE7#FFFFFF#000000##000000
##5D7FE71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7fe7;
/* rgb */ color: rgb(93, 127, 231);
/* oklch */ color: oklch(62.2% 0.161 267.9);
Tailwind
colors: {
  custom: {
    50: '#96a3ef',
    500: '#5d7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fe7;
$custom-light: #96a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fe7",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 225.217,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.16119,
    "h": 267.9
  },
  "luminance": 0.23275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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