#5341DF#5341DF

#5341DF is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.1% C 0.227 H 279.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5341DF
RGBrgb(83, 65, 223)
HSLhsl(247, 71%, 56%)
HSVhsv(247, 71%, 87%)
CMYKcmyk(62.8%, 70.9%, 0%, 12.5%)
CIE-LABlab(39.49, 52.01, -77.70)
CIE-LCHlch(39.49, 93.50, 303.80°)
OKLaboklab(50.08% 0.0373 -0.2242)
OKLCHoklch(50.08% 0.227 279.4)
XYZxyz(18.7726, 10.9458, 70.9212)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341DF #CDDF41
analogous
#417EDF #5341DF #A241DF
triadic
#5341DF #DF5341 #41DF53
tetradic
#5341DF #DF417E #CDDF41 #41DFA2
square
#5341DF #DF417E #CDDF41 #41DFA2
split-complementary
#5341DF #DFA241 #7EDF41
monochromatic
#25188E #3321C2 #5341DF #8275E8 #B2AAF1

Accessibility & contrast

On white

6.58
#5341DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5341DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341DF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341DF#FFFFFF#000000##FFFFFF
##5341DF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0057DC
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5341df;
/* rgb */ color: rgb(83, 65, 223);
/* oklch */ color: oklch(50.1% 0.227 279.4);
Tailwind
colors: {
  custom: {
    50: '#9378ea',
    500: '#5341df',
    950: '#000000',
  },
}
SCSS
$custom: #5341df;
$custom-light: #9378ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5341df",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 246.835,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.22726,
    "h": 279.4
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#5341DF
secondary
#D7DE9D
accent
#EE3AD9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5341DF

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

Preview Lab → · Contrast checker → · Palette generator →

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