#5341E3#5341E3

#5341E3 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.232 H 279.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5341E3
RGBrgb(83, 65, 227)
HSLhsl(247, 74%, 57%)
HSVhsv(247, 71%, 89%)
CMYKcmyk(63.4%, 71.4%, 0%, 11%)
CIE-LABlab(39.86, 53.22, -79.38)
CIE-LCHlch(39.86, 95.57, 303.84°)
OKLaboklab(50.45% 0.0366 -0.2291)
OKLCHoklch(50.45% 0.232 279.1)
XYZxyz(19.3183, 11.1641, 73.7950)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341E3 #D1E341
analogous
#4180E3 #5341E3 #A441E3
triadic
#5341E3 #E35341 #41E353
tetradic
#5341E3 #E34180 #D1E341 #41E3A4
square
#5341E3 #E34180 #D1E341 #41E3A4
split-complementary
#5341E3 #E3A441 #80E341
monochromatic
#241694 #311EC9 #5341E3 #8376EB #B4ACF3

Accessibility & contrast

On white

6.50
#5341E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5341E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341E3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341E3#FFFFFF#000000##FFFFFF
##5341E31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0057E0
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5341e3;
/* rgb */ color: rgb(83, 65, 227);
/* oklch */ color: oklch(50.4% 0.232 279.1);
Tailwind
colors: {
  custom: {
    50: '#9478ed',
    500: '#5341e3',
    950: '#000000',
  },
}
SCSS
$custom: #5341e3;
$custom-light: #9478ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5341e3",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 227
  },
  "hsl": {
    "h": 246.667,
    "s": 74.312,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.23199,
    "h": 279.1
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#5341E3
secondary
#D9E19F
accent
#F137DC
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5341E3

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

Preview Lab → · Contrast checker → · Palette generator →

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