#5245DE#5245DE

#5245DE is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.222 H 278.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5245DE
RGBrgb(82, 69, 222)
HSLhsl(245, 70%, 57%)
HSVhsv(245, 69%, 87%)
CMYKcmyk(63.1%, 68.9%, 0%, 12.9%)
CIE-LABlab(40.12, 49.37, -76.09)
CIE-LCHlch(40.12, 90.71, 302.98°)
OKLaboklab(50.48% 0.0334 -0.2195)
OKLCHoklch(50.48% 0.222 278.7)
XYZxyz(18.7884, 11.3225, 70.2884)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5245DE #D1DE45
analogous
#4585DE #5245DE #9F45DE
triadic
#5245DE #DE5245 #45DE52
tetradic
#5245DE #DE4585 #D1DE45 #45DE9F
square
#5245DE #DE4585 #D1DE45 #45DE9F
split-complementary
#5245DE #DE9F45 #85DE45
monochromatic
#23198F #3023C3 #5245DE #8279E7 #B3ADF0

Accessibility & contrast

On white

6.43
#5245DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5245DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5245DE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5245DE#FFFFFF#000000##FFFFFF
##5245DE1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5245de;
/* rgb */ color: rgb(82, 69, 222);
/* oklch */ color: oklch(50.5% 0.222 278.7);
Tailwind
colors: {
  custom: {
    50: '#927ae9',
    500: '#5245de',
    950: '#000000',
  },
}
SCSS
$custom: #5245de;
$custom-light: #927ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5245de",
  "rgb": {
    "r": 82,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 245.098,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.22206,
    "h": 278.7
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5245DE

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

Preview Lab → · Contrast checker → · Palette generator →

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