#5D7EF9#5D7EF9

#5D7EF9 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.2% C 0.187 H 269.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D7EF9
RGBrgb(93, 126, 249)
HSLhsl(227, 93%, 67%)
HSVhsv(227, 63%, 98%)
CMYKcmyk(62.7%, 49.4%, 0%, 2.4%)
CIE-LABlab(56.17, 25.78, -65.13)
CIE-LCHlch(56.17, 70.05, 291.59°)
OKLaboklab(63.17% -0.0027 -0.1866)
OKLCHoklch(63.17% 0.187 269.2)
XYZxyz(29.0681, 24.0859, 92.7213)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EF9 #F9D85D
analogous
#5DCCF9 #5D7EF9 #8A5DF9
triadic
#5D7EF9 #F95D7E #7EF95D
tetradic
#5D7EF9 #F95DCC #F9D85D #5DF98A
square
#5D7EF9 #F95DCC #F9D85D #5DF98A
split-complementary
#5D7EF9 #F98A5D #CCF95D
monochromatic
#0833D4 #224FF7 #5D7EF9 #98ADFB #D3DCFD

Accessibility & contrast

On white

3.61
#5D7EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5D7EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EF9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EF9#FFFFFF#000000##000000
##5D7EF91.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFD
Deuteranopia (green-blind)
#0C80F6
Tritanopia (blue-blind)
#009AB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d7ef9;
/* rgb */ color: rgb(93, 126, 249);
/* oklch */ color: oklch(63.2% 0.187 269.2);
Tailwind
colors: {
  custom: {
    50: '#99a2fc',
    500: '#5d7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ef9;
$custom-light: #99a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ef9",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 227.308,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.18664,
    "h": 269.2
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#5D7EF9
secondary
#F2E7C0
accent
#B500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86

Preview Lab

Preview with #5D7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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