#5341D5#5341D5

#5341D5 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.215 H 280.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5341D5
RGBrgb(83, 65, 213)
HSLhsl(247, 64%, 55%)
HSVhsv(247, 69%, 84%)
CMYKcmyk(61%, 69.5%, 0%, 16.5%)
CIE-LABlab(38.59, 48.95, -73.44)
CIE-LCHlch(38.59, 88.26, 303.69°)
OKLaboklab(49.16% 0.0391 -0.2117)
OKLCHoklch(49.16% 0.215 280.5)
XYZxyz(17.4640, 10.4224, 64.0293)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341D5 #C3D541
analogous
#4179D5 #5341D5 #9D41D5
triadic
#5341D5 #D55341 #41D553
tetradic
#5341D5 #D54179 #C3D541 #41D59D
square
#5341D5 #D54179 #C3D541 #41D59D
split-complementary
#5341D5 #D59D41 #79D541
monochromatic
#281C7F #3827B2 #5341D5 #8073E0 #AEA5EB

Accessibility & contrast

On white

6.81
#5341D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5341D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341D5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341D5#FFFFFF#000000##FFFFFF
##5341D51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0055D2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5341d5;
/* rgb */ color: rgb(83, 65, 213);
/* oklch */ color: oklch(49.2% 0.215 280.5);
Tailwind
colors: {
  custom: {
    50: '#9277e3',
    500: '#5341d5',
    950: '#000000',
  },
}
SCSS
$custom: #5341d5;
$custom-light: #9277e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5341d5",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 247.297,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.21529,
    "h": 280.5
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#5341D5
secondary
#D1D89A
accent
#E741D3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5341D5

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

Preview Lab → · Contrast checker → · Palette generator →

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