#5341E0#5341E0

#5341E0 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.2% C 0.228 H 279.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5341E0
RGBrgb(83, 65, 224)
HSLhsl(247, 72%, 57%)
HSVhsv(247, 71%, 88%)
CMYKcmyk(62.9%, 71%, 0%, 12.2%)
CIE-LABlab(39.58, 52.31, -78.12)
CIE-LCHlch(39.58, 94.01, 303.81°)
OKLaboklab(50.17% 0.0371 -0.2254)
OKLCHoklch(50.17% 0.228 279.3)
XYZxyz(18.9078, 10.9999, 71.6334)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341E0 #CEE041
analogous
#417FE0 #5341E0 #A241E0
triadic
#5341E0 #E05341 #41E053
tetradic
#5341E0 #E0417F #CEE041 #41E0A2
square
#5341E0 #E0417F #CEE041 #41E0A2
split-complementary
#5341E0 #E0A241 #7FE041
monochromatic
#25178F #3320C4 #5341E0 #8376E9 #B2AAF1

Accessibility & contrast

On white

6.56
#5341E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5341E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341E0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341E0#FFFFFF#000000##FFFFFF
##5341E01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E5
Deuteranopia (green-blind)
#0057DD
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5341e0;
/* rgb */ color: rgb(83, 65, 224);
/* oklch */ color: oklch(50.2% 0.228 279.3);
Tailwind
colors: {
  custom: {
    50: '#9478eb',
    500: '#5341e0',
    950: '#000000',
  },
}
SCSS
$custom: #5341e0;
$custom-light: #9478eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5341e0",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 224
  },
  "hsl": {
    "h": 246.792,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.22844,
    "h": 279.3
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#5341E0
secondary
#D8DF9E
accent
#EF39DA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5341E0

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

Preview Lab → · Contrast checker → · Palette generator →

#5341E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva