#5341D9#5341D9

#5341D9 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.220 H 280.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5341D9
RGBrgb(83, 65, 217)
HSLhsl(247, 67%, 55%)
HSVhsv(247, 70%, 85%)
CMYKcmyk(61.8%, 70%, 0%, 14.9%)
CIE-LABlab(38.95, 50.18, -75.15)
CIE-LCHlch(38.95, 90.36, 303.73°)
OKLaboklab(49.53% 0.0384 -0.2167)
OKLCHoklch(49.53% 0.22 280)
XYZxyz(17.9780, 10.6280, 66.7362)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341D9 #C7D941
analogous
#417BD9 #5341D9 #9F41D9
triadic
#5341D9 #D95341 #41D953
tetradic
#5341D9 #D9417B #C7D941 #41D99F
square
#5341D9 #D9417B #C7D941 #41D99F
split-complementary
#5341D9 #D99F41 #7BD941
monochromatic
#271B85 #3625B8 #5341D9 #8174E3 #AFA7ED

Accessibility & contrast

On white

6.72
#5341D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5341D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341D9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341D9#FFFFFF#000000##FFFFFF
##5341D91.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5341d9;
/* rgb */ color: rgb(83, 65, 217);
/* oklch */ color: oklch(49.5% 0.220 280.0);
Tailwind
colors: {
  custom: {
    50: '#9278e6',
    500: '#5341d9',
    950: '#000000',
  },
}
SCSS
$custom: #5341d9;
$custom-light: #9278e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5341d9",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 247.105,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49527,
    "c": 0.22011,
    "h": 280
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#5341D9
secondary
#D3DB9B
accent
#EA3ED5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5341D9

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

Preview Lab → · Contrast checker → · Palette generator →

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