#5346E4#5346E4

#5346E4 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.228 H 278.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5346E4
RGBrgb(83, 70, 228)
HSLhsl(245, 75%, 58%)
HSVhsv(245, 69%, 89%)
CMYKcmyk(63.6%, 69.3%, 0%, 10.6%)
CIE-LABlab(40.93, 50.81, -78.18)
CIE-LCHlch(40.93, 93.24, 303.02°)
OKLaboklab(51.24% 0.033 -0.2256)
OKLCHoklch(51.24% 0.228 278.3)
XYZxyz(19.7565, 11.8192, 74.6239)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5346E4 #D7E446
analogous
#4688E4 #5346E4 #A246E4
triadic
#5346E4 #E45346 #46E453
tetradic
#5346E4 #E44688 #D7E446 #46E4A2
square
#5346E4 #E44688 #D7E446 #46E4A2
split-complementary
#5346E4 #E4A246 #88E446
monochromatic
#211699 #2D1ECF #5346E4 #857BEC #B6B1F4

Accessibility & contrast

On white

6.24
#5346E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5346E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5346E4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5346E4#FFFFFF#000000##FFFFFF
##5346E41.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#005AE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5346e4;
/* rgb */ color: rgb(83, 70, 228);
/* oklch */ color: oklch(51.2% 0.228 278.3);
Tailwind
colors: {
  custom: {
    50: '#947bee',
    500: '#5346e4',
    950: '#000000',
  },
}
SCSS
$custom: #5346e4;
$custom-light: #947bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5346e4",
  "rgb": {
    "r": 83,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 244.937,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.22803,
    "h": 278.3
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#5346E4
secondary
#DDE2A4
accent
#F137E2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #5346E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5346E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva