#5341D3#5341D3

#5341D3 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.213 H 280.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5341D3
RGBrgb(83, 65, 211)
HSLhsl(247, 62%, 54%)
HSVhsv(247, 69%, 83%)
CMYKcmyk(60.7%, 69.2%, 0%, 17.3%)
CIE-LABlab(38.41, 48.34, -72.58)
CIE-LCHlch(38.41, 87.20, 303.66°)
OKLaboklab(48.98% 0.0394 -0.2092)
OKLCHoklch(48.98% 0.213 280.7)
XYZxyz(17.2117, 10.3215, 62.7006)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341D3 #C1D341
analogous
#4178D3 #5341D3 #9C41D3
triadic
#5341D3 #D35341 #41D353
tetradic
#5341D3 #D34178 #C1D341 #41D39C
square
#5341D3 #D34178 #C1D341 #41D39C
split-complementary
#5341D3 #D39C41 #78D341
monochromatic
#291D7D #3928AE #5341D3 #8073DF #ADA4EA

Accessibility & contrast

On white

6.85
#5341D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5341D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341D3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341D3#FFFFFF#000000##FFFFFF
##5341D31.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5341d3;
/* rgb */ color: rgb(83, 65, 211);
/* oklch */ color: oklch(49.0% 0.213 280.7);
Tailwind
colors: {
  custom: {
    50: '#9177e2',
    500: '#5341d3',
    950: '#000000',
  },
}
SCSS
$custom: #5341d3;
$custom-light: #9177e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5341d3",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 247.397,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.21288,
    "h": 280.7
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#5341D3
secondary
#CFD799
accent
#E542D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5341D3

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

Preview Lab → · Contrast checker → · Palette generator →

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