#5345EA#5345EA

#5345EA is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.7% C 0.236 H 278.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5345EA
RGBrgb(83, 69, 234)
HSLhsl(245, 80%, 59%)
HSVhsv(245, 71%, 92%)
CMYKcmyk(64.5%, 70.5%, 0%, 8.2%)
CIE-LABlab(41.27, 53.20, -81.02)
CIE-LCHlch(41.27, 96.93, 303.29°)
OKLaboklab(51.65% 0.0327 -0.2339)
OKLCHoklch(51.65% 0.236 278)
XYZxyz(20.5419, 12.0340, 79.0662)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345EA #DCEA45
analogous
#458AEA #5345EA #A645EA
triadic
#5345EA #EA5345 #45EA53
tetradic
#5345EA #EA458A #DCEA45 #45EAA6
square
#5345EA #EA458A #DCEA45 #45EAA6
split-complementary
#5345EA #EAA645 #8AEA45
monochromatic
#1F12A2 #2919D9 #5345EA #867CF0 #B9B3F6

Accessibility & contrast

On white

6.16
#5345EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5345EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345EA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345EA#FFFFFF#000000##FFFFFF
##5345EA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005AE7
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5345ea;
/* rgb */ color: rgb(83, 69, 234);
/* oklch */ color: oklch(51.7% 0.236 278.0);
Tailwind
colors: {
  custom: {
    50: '#957bf2',
    500: '#5345ea',
    950: '#000000',
  },
}
SCSS
$custom: #5345ea;
$custom-light: #957bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5345ea",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 245.091,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.23619,
    "h": 278
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#5345EA
secondary
#E0E6A5
accent
#F632E5
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5345EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5345EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva