#5244DB#5244DB

#5244DB is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.220 H 279.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5244DB
RGBrgb(82, 68, 219)
HSLhsl(246, 68%, 56%)
HSVhsv(246, 69%, 86%)
CMYKcmyk(62.6%, 68.9%, 0%, 14.1%)
CIE-LABlab(39.65, 49.00, -75.15)
CIE-LCHlch(39.65, 89.71, 303.11°)
OKLaboklab(50.07% 0.0346 -0.2168)
OKLCHoklch(50.07% 0.22 279.1)
XYZxyz(18.3289, 11.0411, 68.1694)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5244DB #CDDB44
analogous
#4482DB #5244DB #9E44DB
triadic
#5244DB #DB5244 #44DB52
tetradic
#5244DB #DB4482 #CDDB44 #44DB9E
square
#5244DB #DB4482 #CDDB44 #44DB9E
split-complementary
#5244DB #DB9E44 #82DB44
monochromatic
#251B8A #3324BD #5244DB #8177E5 #B1ABEF

Accessibility & contrast

On white

6.54
#5244DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5244DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5244DB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5244DB#FFFFFF#000000##FFFFFF
##5244DB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5244db;
/* rgb */ color: rgb(82, 68, 219);
/* oklch */ color: oklch(50.1% 0.220 279.1);
Tailwind
colors: {
  custom: {
    50: '#927ae7',
    500: '#5244db',
    950: '#000000',
  },
}
SCSS
$custom: #5244db;
$custom-light: #927ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5244db",
  "rgb": {
    "r": 82,
    "g": 68,
    "b": 219
  },
  "hsl": {
    "h": 245.563,
    "s": 67.713,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50065,
    "c": 0.2195,
    "h": 279.1
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#5244DB
secondary
#D7DC9E
accent
#EB3DDB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5244DB

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

Preview Lab → · Contrast checker → · Palette generator →

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