#5D7DEF#5D7DEF

#5D7DEF is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.3% C 0.174 H 269.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D7DEF
RGBrgb(93, 125, 239)
HSLhsl(227, 82%, 65%)
HSVhsv(227, 61%, 94%)
CMYKcmyk(61.1%, 47.7%, 0%, 6.3%)
CIE-LABlab(55.30, 23.05, -60.99)
CIE-LCHlch(55.30, 65.20, 290.70°)
OKLaboklab(62.31% -0.0028 -0.1744)
OKLCHoklch(62.31% 0.174 269.1)
XYZxyz(27.4225, 23.2240, 84.6822)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DEF #EFCF5D
analogous
#5DC6EF #5D7DEF #865DEF
triadic
#5D7DEF #EF5D7D #7DEF5D
tetradic
#5D7DEF #EF5DC6 #EFCF5D #5DEF86
square
#5D7DEF #EF5DC6 #EFCF5D #5DEF86
split-complementary
#5D7DEF #EF865D #C6EF5D
monochromatic
#1339BF #2550E9 #5D7DEF #95AAF5 #CCD6FA

Accessibility & contrast

On white

3.72
#5D7DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5D7DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DEF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DEF#FFFFFF#000000##000000
##5D7DEF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#277EED
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7def;
/* rgb */ color: rgb(93, 125, 239);
/* oklch */ color: oklch(62.3% 0.174 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a2f5',
    500: '#5d7def',
    950: '#000000',
  },
}
SCSS
$custom: #5d7def;
$custom-light: #97a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7def",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 226.849,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.17447,
    "h": 269.1
  },
  "luminance": 0.23226
}

Semantic roles & 50–950 ramp

primary
#5D7DEF
secondary
#EDE2BB
accent
#AF07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5D7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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