#5D5EF0#5D5EF0

#5D5EF0 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.214 H 276.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D5EF0
RGBrgb(93, 94, 240)
HSLhsl(240, 83%, 65%)
HSVhsv(240, 61%, 94%)
CMYKcmyk(61.2%, 60.8%, 0%, 5.9%)
CIE-LABlab(47.78, 42.17, -73.72)
CIE-LCHlch(47.78, 84.93, 299.77°)
OKLaboklab(56.7% 0.0255 -0.2122)
OKLCHoklch(56.7% 0.214 276.8)
XYZxyz(24.2400, 16.6219, 84.3522)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EF0 #F0EF5D
analogous
#5DA7F0 #5D5EF0 #A65DF0
triadic
#5D5EF0 #F05D5E #5EF05D
tetradic
#5D5EF0 #F05DA7 #F0EF5D #5DF0A6
square
#5D5EF0 #F05DA7 #F0EF5D #5DF0A6
split-complementary
#5D5EF0 #F0A65D #A7F05D
monochromatic
#1213C1 #2526EB #5D5EF0 #9596F5 #CDCDFA

Accessibility & contrast

On white

4.86
#5D5EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5D5EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EF0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EF0#FFFFFF#000000##FFFFFF
##5D5EF01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5ef0;
/* rgb */ color: rgb(93, 94, 240);
/* oklch */ color: oklch(56.7% 0.214 276.8);
Tailwind
colors: {
  custom: {
    50: '#998cf6',
    500: '#5d5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ef0;
$custom-light: #998cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ef0",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 239.592,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.21372,
    "h": 276.8
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#5D5EF0
secondary
#EDEDBC
accent
#DE06DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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