#5D41F0#5D41F0

#5D41F0 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.4% C 0.245 H 281.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5D41F0
RGBrgb(93, 65, 240)
HSLhsl(250, 85%, 60%)
HSVhsv(250, 73%, 94%)
CMYKcmyk(61.2%, 72.9%, 0%, 5.9%)
CIE-LABlab(41.84, 58.27, -83.45)
CIE-LCHlch(41.84, 101.78, 304.93°)
OKLaboklab(52.42% 0.0471 -0.2407)
OKLCHoklch(52.42% 0.245 281.1)
XYZxyz(22.1277, 12.3974, 83.6481)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41F0 #D4F041
analogous
#417DF0 #5D41F0 #B541F0
triadic
#5D41F0 #F05D41 #41F05D
tetradic
#5D41F0 #F0417D #D4F041 #41F0B5
square
#5D41F0 #F0417D #D4F041 #41F0B5
split-complementary
#5D41F0 #F0B541 #7DF041
monochromatic
#260DA9 #3312E2 #5D41F0 #8D7AF4 #BEB2F9

Accessibility & contrast

On white

6.03
#5D41F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D41F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D41F0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41F0#FFFFFF#000000##FFFFFF
##5D41F01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F5
Deuteranopia (green-blind)
#005CED
Tritanopia (blue-blind)
#007295
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d41f0;
/* rgb */ color: rgb(93, 65, 240);
/* oklch */ color: oklch(52.4% 0.245 281.1);
Tailwind
colors: {
  custom: {
    50: '#9b79f6',
    500: '#5d41f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d41f0;
$custom-light: #9b79f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41f0",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 240
  },
  "hsl": {
    "h": 249.6,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.24528,
    "h": 281.1
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#5D41F0
secondary
#DDE8A5
accent
#FC2CDA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5D41F0

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

Preview Lab → · Contrast checker → · Palette generator →

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