#5E41F0#5E41F0

#5E41F0 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.5% C 0.245 H 281.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5E41F0
RGBrgb(94, 65, 240)
HSLhsl(250, 85%, 60%)
HSVhsv(250, 73%, 94%)
CMYKcmyk(60.8%, 72.9%, 0%, 5.9%)
CIE-LABlab(41.92, 58.39, -83.31)
CIE-LCHlch(41.92, 101.74, 305.03°)
OKLaboklab(52.5% 0.0485 -0.2403)
OKLCHoklch(52.5% 0.245 281.4)
XYZxyz(22.2296, 12.4499, 83.6528)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41F0 #D3F041
analogous
#417BF0 #5E41F0 #B641F0
triadic
#5E41F0 #F05E41 #41F05E
tetradic
#5E41F0 #F0417B #D3F041 #41F0B6
square
#5E41F0 #F0417B #D3F041 #41F0B6
split-complementary
#5E41F0 #F0B641 #7BF041
monochromatic
#270DA9 #3412E2 #5E41F0 #8E7AF4 #BEB2F9

Accessibility & contrast

On white

6.02
#5E41F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5E41F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E41F0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41F0#FFFFFF#000000##FFFFFF
##5E41F01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.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: #5e41f0;
/* rgb */ color: rgb(94, 65, 240);
/* oklch */ color: oklch(52.5% 0.245 281.4);
Tailwind
colors: {
  custom: {
    50: '#9c79f6',
    500: '#5e41f0',
    950: '#000000',
  },
}
SCSS
$custom: #5e41f0;
$custom-light: #9c79f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41f0",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 240
  },
  "hsl": {
    "h": 249.943,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.24512,
    "h": 281.4
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E41F0

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

Preview Lab → · Contrast checker → · Palette generator →

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