#5244DF#5244DF

#5244DF is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.224 H 278.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5244DF
RGBrgb(82, 68, 223)
HSLhsl(245, 71%, 57%)
HSVhsv(245, 70%, 87%)
CMYKcmyk(63.2%, 69.5%, 0%, 12.5%)
CIE-LABlab(40.01, 50.24, -76.85)
CIE-LCHlch(40.01, 91.82, 303.17°)
OKLaboklab(50.43% 0.034 -0.2217)
OKLCHoklch(50.43% 0.224 278.7)
XYZxyz(18.8618, 11.2543, 70.9761)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244DF #D1DF44
analogous
#4484DF #5244DF #9F44DF
triadic
#5244DF #DF5244 #44DF52
tetradic
#5244DF #DF4484 #D1DF44 #44DF9F
square
#5244DF #DF4484 #D1DF44 #44DF9F
split-complementary
#5244DF #DF9F44 #84DF44
monochromatic
#231990 #3022C4 #5244DF #8278E8 #B3ADF1

Accessibility & contrast

On white

6.46
#5244DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5244DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244DF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244DF#FFFFFF#000000##FFFFFF
##5244DF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5244df;
/* rgb */ color: rgb(82, 68, 223);
/* oklch */ color: oklch(50.4% 0.224 278.7);
Tailwind
colors: {
  custom: {
    50: '#937aea',
    500: '#5244df',
    950: '#000000',
  },
}
SCSS
$custom: #5244df;
$custom-light: #937aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5244df",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 223
  },
  "hsl": {
    "h": 245.419,
    "s": 70.776,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.22432,
    "h": 278.7
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#5244DF
secondary
#D9DFA0
accent
#EE3ADD
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5244DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5244DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva