#5345E2#5345E2

#5345E2 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.227 H 278.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5345E2
RGBrgb(83, 69, 226)
HSLhsl(245, 73%, 58%)
HSVhsv(245, 69%, 89%)
CMYKcmyk(63.3%, 69.5%, 0%, 11.4%)
CIE-LABlab(40.55, 50.74, -77.67)
CIE-LCHlch(40.55, 92.77, 303.16°)
OKLaboklab(50.92% 0.034 -0.2241)
OKLCHoklch(50.92% 0.227 278.6)
XYZxyz(19.4185, 11.5847, 73.1495)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345E2 #D4E245
analogous
#4586E2 #5345E2 #A145E2
triadic
#5345E2 #E25345 #45E253
tetradic
#5345E2 #E24586 #D4E245 #45E2A1
square
#5345E2 #E24586 #D4E245 #45E2A1
split-complementary
#5345E2 #E2A145 #86E245
monochromatic
#231795 #2F20CA #5345E2 #847AEA #B5AFF3

Accessibility & contrast

On white

6.33
#5345E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5345E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345E2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345E2#FFFFFF#000000##FFFFFF
##5345E21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5345e2;
/* rgb */ color: rgb(83, 69, 226);
/* oklch */ color: oklch(50.9% 0.227 278.6);
Tailwind
colors: {
  custom: {
    50: '#947aec',
    500: '#5345e2',
    950: '#000000',
  },
}
SCSS
$custom: #5345e2;
$custom-light: #947aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5345e2",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 245.35,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.22668,
    "h": 278.6
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#5345E2
secondary
#DBE1A2
accent
#F038DF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5345E2

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

Preview Lab → · Contrast checker → · Palette generator →

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