#5D7AFA#5D7AFA

#5D7AFA is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.5% C 0.193 H 270.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5D7AFA
RGBrgb(93, 122, 250)
HSLhsl(229, 94%, 67%)
HSVhsv(229, 63%, 98%)
CMYKcmyk(62.8%, 51.2%, 0%, 2%)
CIE-LABlab(55.22, 28.54, -67.22)
CIE-LCHlch(55.22, 73.03, 293.01°)
OKLaboklab(62.47% 0.0011 -0.1928)
OKLCHoklch(62.47% 0.193 270.3)
XYZxyz(28.7232, 23.1458, 93.3779)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AFA #FADD5D
analogous
#5DC9FA #5D7AFA #8E5DFA
triadic
#5D7AFA #FA5D7A #7AFA5D
tetradic
#5D7AFA #FA5DC9 #FADD5D #5DFA8E
square
#5D7AFA #FA5DC9 #FADD5D #5DFA8E
split-complementary
#5D7AFA #FA8E5D #C9FA5D
monochromatic
#072DD6 #2249F8 #5D7AFA #98ABFC #D4DBFE

Accessibility & contrast

On white

3.73
#5D7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5D7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AFA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AFA#FFFFFF#000000##000000
##5D7AFA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8CFF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#0098AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7afa;
/* rgb */ color: rgb(93, 122, 250);
/* oklch */ color: oklch(62.5% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#99a0fd',
    500: '#5d7afa',
    950: '#000000',
  },
}
SCSS
$custom: #5d7afa;
$custom-light: #99a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7afa",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 228.917,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.19281,
    "h": 270.3
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#5D7AFA
secondary
#F2E9C1
accent
#BB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5D7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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