#5D7FEF#5D7FEF

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

Color values

HEX#5D7FEF
RGBrgb(93, 127, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 61%, 94%)
CMYKcmyk(61.1%, 46.9%, 0%, 6.3%)
CIE-LABlab(55.82, 21.84, -60.16)
CIE-LCHlch(55.82, 64.00, 289.95°)
OKLaboklab(62.71% -0.0048 -0.172)
OKLCHoklch(62.71% 0.172 268.4)
XYZxyz(27.6783, 23.7355, 84.7674)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FEF #EFCD5D
analogous
#5DC8EF #5D7FEF #845DEF
triadic
#5D7FEF #EF5D7F #7FEF5D
tetradic
#5D7FEF #EF5DC8 #EFCD5D #5DEF84
square
#5D7FEF #EF5DC8 #EFCD5D #5DEF84
split-complementary
#5D7FEF #EF845D #C8EF5D
monochromatic
#133BBF #2553E9 #5D7FEF #95ABF5 #CCD7FA

Accessibility & contrast

On white

3.65
#5D7FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5D7FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FEF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FEF#FFFFFF#000000##000000
##5D7FEF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#2D80ED
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d7fef;
/* rgb */ color: rgb(93, 127, 239);
/* oklch */ color: oklch(62.7% 0.172 268.4);
Tailwind
colors: {
  custom: {
    50: '#97a3f5',
    500: '#5d7fef',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fef;
$custom-light: #97a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fef",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 226.027,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.17204,
    "h": 268.4
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#5D7FEF
secondary
#EDE1BB
accent
#AC07DE
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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