#5D7DF1#5D7DF1

#5D7DF1 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.4% C 0.177 H 269.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5D7DF1
RGBrgb(93, 125, 241)
HSLhsl(227, 84%, 65%)
HSVhsv(227, 61%, 95%)
CMYKcmyk(61.4%, 48.1%, 0%, 5.5%)
CIE-LABlab(55.42, 23.72, -61.91)
CIE-LCHlch(55.42, 66.29, 290.96°)
OKLaboklab(62.44% -0.0026 -0.1771)
OKLCHoklch(62.44% 0.177 269.2)
XYZxyz(27.7196, 23.3429, 86.2469)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DF1 #F1D15D
analogous
#5DC7F1 #5D7DF1 #875DF1
triadic
#5D7DF1 #F15D7D #7DF15D
tetradic
#5D7DF1 #F15DC7 #F1D15D #5DF187
square
#5D7DF1 #F15DC7 #F1D15D #5DF187
split-complementary
#5D7DF1 #F1875D #C7F15D
monochromatic
#1137C3 #2550EC #5D7DF1 #95AAF6 #CED7FB

Accessibility & contrast

On white

3.70
#5D7DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5D7DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DF1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DF1#FFFFFF#000000##000000
##5D7DF11.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF5
Deuteranopia (green-blind)
#227EEF
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7df1;
/* rgb */ color: rgb(93, 125, 241);
/* oklch */ color: oklch(62.4% 0.177 269.2);
Tailwind
colors: {
  custom: {
    50: '#98a2f6',
    500: '#5d7df1',
    950: '#000000',
  },
}
SCSS
$custom: #5d7df1;
$custom-light: #98a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7df1",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 227.027,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.17716,
    "h": 269.2
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#5D7DF1
secondary
#EEE3BC
accent
#B105E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5D7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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