#5D7CFA#5D7CFA

#5D7CFA is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.9% C 0.190 H 269.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5D7CFA
RGBrgb(93, 124, 250)
HSLhsl(228, 94%, 67%)
HSVhsv(228, 63%, 98%)
CMYKcmyk(62.8%, 50.4%, 0%, 2%)
CIE-LABlab(55.73, 27.33, -66.40)
CIE-LCHlch(55.73, 71.81, 292.37°)
OKLaboklab(62.85% -0.0007 -0.1904)
OKLCHoklch(62.85% 0.19 269.8)
XYZxyz(28.9713, 23.6420, 93.4606)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CFA #FADB5D
analogous
#5DCAFA #5D7CFA #8D5DFA
triadic
#5D7CFA #FA5D7C #7CFA5D
tetradic
#5D7CFA #FA5DCA #FADB5D #5DFA8D
square
#5D7CFA #FA5DCA #FADB5D #5DFA8D
split-complementary
#5D7CFA #FA8D5D #CAFA5D
monochromatic
#0730D6 #224CF8 #5D7CFA #98ACFC #D4DCFE

Accessibility & contrast

On white

3.67
#5D7CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5D7CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CFA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CFA#FFFFFF#000000##000000
##5D7CFA1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#0099AF
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7cfa;
/* rgb */ color: rgb(93, 124, 250);
/* oklch */ color: oklch(62.9% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#99a1fd',
    500: '#5d7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cfa;
$custom-light: #99a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cfa",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 228.153,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.19039,
    "h": 269.8
  },
  "luminance": 0.23645
}

Semantic roles & 50–950 ramp

primary
#5D7CFA
secondary
#F2E8C1
accent
#B800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5D7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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