#5345DE#5345DE

#5345DE is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.222 H 279.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5345DE
RGBrgb(83, 69, 222)
HSLhsl(245, 70%, 57%)
HSVhsv(245, 69%, 87%)
CMYKcmyk(62.6%, 68.9%, 0%, 12.9%)
CIE-LABlab(40.19, 49.51, -75.97)
CIE-LCHlch(40.19, 90.68, 303.09°)
OKLaboklab(50.55% 0.0347 -0.2191)
OKLCHoklch(50.55% 0.222 279)
XYZxyz(18.8760, 11.3677, 70.2925)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345DE #D0DE45
analogous
#4584DE #5345DE #9F45DE
triadic
#5345DE #DE5345 #45DE53
tetradic
#5345DE #DE4584 #D0DE45 #45DE9F
square
#5345DE #DE4584 #D0DE45 #45DE9F
split-complementary
#5345DE #DE9F45 #84DE45
monochromatic
#24198F #3123C3 #5345DE #8379E7 #B3ADF0

Accessibility & contrast

On white

6.41
#5345DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5345DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345DE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345DE#FFFFFF#000000##FFFFFF
##5345DE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5345de;
/* rgb */ color: rgb(83, 69, 222);
/* oklch */ color: oklch(50.6% 0.222 279.0);
Tailwind
colors: {
  custom: {
    50: '#937ae9',
    500: '#5345de',
    950: '#000000',
  },
}
SCSS
$custom: #5345de;
$custom-light: #937ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5345de",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 245.49,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.22187,
    "h": 279
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#5345DE
secondary
#D9DFA0
accent
#ED3BDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345DE

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

Preview Lab → · Contrast checker → · Palette generator →

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