#5249E8#5249E8

#5249E8 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.230 H 277.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5249E8
RGBrgb(82, 73, 232)
HSLhsl(243, 78%, 60%)
HSVhsv(243, 69%, 91%)
CMYKcmyk(64.7%, 68.5%, 0%, 9%)
CIE-LABlab(41.82, 50.26, -78.99)
CIE-LCHlch(41.82, 93.62, 302.47°)
OKLaboklab(51.97% 0.0292 -0.228)
OKLCHoklch(51.97% 0.23 277.3)
XYZxyz(20.4230, 12.3834, 77.6423)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249E8 #DFE849
analogous
#4990E8 #5249E8 #A149E8
triadic
#5249E8 #E85249 #49E852
tetradic
#5249E8 #E84990 #DFE849 #49E8A1
square
#5249E8 #E84990 #DFE849 #49E8A1
split-complementary
#5249E8 #E8A149 #90E849
monochromatic
#1D14A2 #261BD8 #5249E8 #867FEF #B9B6F6

Accessibility & contrast

On white

6.04
#5249E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5249E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249E8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249E8#FFFFFF#000000##FFFFFF
##5249E81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069ED
Deuteranopia (green-blind)
#005CE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5249e8;
/* rgb */ color: rgb(82, 73, 232);
/* oklch */ color: oklch(52.0% 0.230 277.3);
Tailwind
colors: {
  custom: {
    50: '#947df1',
    500: '#5249e8',
    950: '#000000',
  },
}
SCSS
$custom: #5249e8;
$custom-light: #947df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5249e8",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 243.396,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.22987,
    "h": 277.3
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#5249E8
secondary
#E2E5A8
accent
#F434E9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5249E8

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

Preview Lab → · Contrast checker → · Palette generator →

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