#5249EF#5249EF

#5249EF is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.238 H 276.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5249EF
RGBrgb(82, 73, 239)
HSLhsl(243, 84%, 61%)
HSVhsv(243, 69%, 94%)
CMYKcmyk(65.7%, 69.5%, 0%, 6.3%)
CIE-LABlab(42.44, 52.44, -81.92)
CIE-LCHlch(42.44, 97.27, 302.63°)
OKLaboklab(52.61% 0.0281 -0.2366)
OKLCHoklch(52.61% 0.238 276.8)
XYZxyz(21.4371, 12.7891, 82.9834)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5249EF #E6EF49
analogous
#4993EF #5249EF #A549EF
triadic
#5249EF #EF5249 #49EF52
tetradic
#5249EF #EF4993 #E6EF49 #49EFA5
square
#5249EF #EF4993 #E6EF49 #49EFA5
split-complementary
#5249EF #EFA549 #93EF49
monochromatic
#180FAE #2014E7 #5249EF #8781F4 #BDBAF9

Accessibility & contrast

On white

5.90
#5249EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5249EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5249EF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5249EF#FFFFFF#000000##FFFFFF
##5249EF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF4
Deuteranopia (green-blind)
#005DEC
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5249ef;
/* rgb */ color: rgb(82, 73, 239);
/* oklch */ color: oklch(52.6% 0.238 276.8);
Tailwind
colors: {
  custom: {
    50: '#957df6',
    500: '#5249ef',
    950: '#000000',
  },
}
SCSS
$custom: #5249ef;
$custom-light: #957df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5249ef",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 239
  },
  "hsl": {
    "h": 243.253,
    "s": 83.838,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.23824,
    "h": 276.8
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#5249EF
secondary
#E6E9AB
accent
#E005D4
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5249EF

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

Preview Lab → · Contrast checker → · Palette generator →

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