#5249DB#5249DB

#5249DB is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.214 H 278.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5249DB
RGBrgb(82, 73, 219)
HSLhsl(244, 67%, 57%)
HSVhsv(244, 67%, 86%)
CMYKcmyk(62.6%, 66.7%, 0%, 14.1%)
CIE-LABlab(40.69, 46.16, -73.44)
CIE-LCHlch(40.69, 86.75, 302.15°)
OKLaboklab(50.81% 0.0309 -0.2118)
OKLCHoklch(50.81% 0.214 278.3)
XYZxyz(18.6443, 11.6719, 68.2745)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249DB #D2DB49
analogous
#4989DB #5249DB #9B49DB
triadic
#5249DB #DB5249 #49DB52
tetradic
#5249DB #DB4989 #D2DB49 #49DB9B
square
#5249DB #DB4989 #D2DB49 #49DB9B
split-complementary
#5249DB #DB9B49 #89DB49
monochromatic
#231C8E #3026C1 #5249DB #837CE5 #B3AFEF

Accessibility & contrast

On white

6.30
#5249DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5249DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249DB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249DB#FFFFFF#000000##FFFFFF
##5249DB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5249db;
/* rgb */ color: rgb(82, 73, 219);
/* oklch */ color: oklch(50.8% 0.214 278.3);
Tailwind
colors: {
  custom: {
    50: '#927de7',
    500: '#5249db',
    950: '#000000',
  },
}
SCSS
$custom: #5249db;
$custom-light: #927de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5249db",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 243.699,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.21401,
    "h": 278.3
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#5249DB
secondary
#DADDA2
accent
#EA3EDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5249DB

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

Preview Lab → · Contrast checker → · Palette generator →

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