#5243AE#5243AE

#5243AE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.164 H 284.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5243AE
RGBrgb(82, 67, 174)
HSLhsl(248, 44%, 47%)
HSVhsv(248, 61%, 68%)
CMYKcmyk(52.9%, 61.5%, 0%, 31.8%)
CIE-LABlab(35.72, 35.50, -55.32)
CIE-LCHlch(35.72, 65.73, 302.69°)
OKLaboklab(46.07% 0.0405 -0.1586)
OKLCHoklch(46.07% 0.164 284.3)
XYZxyz(13.1245, 8.8634, 41.0554)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243AE #9FAE43
analogous
#436AAE #5243AE #8743AE
triadic
#5243AE #AE5243 #43AE52
tetradic
#5243AE #AE436A #9FAE43 #43AE87
square
#5243AE #AE436A #9FAE43 #43AE87
split-complementary
#5243AE #AE8743 #6AAE43
monochromatic
#282156 #3D3282 #5243AE #7669C5 #9E95D6

Accessibility & contrast

On white

7.57
#5243AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5243AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243AE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243AE#FFFFFF#000000##FFFFFF
##5243AE1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#2D5C72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5243ae;
/* rgb */ color: rgb(82, 67, 174);
/* oklch */ color: oklch(46.1% 0.164 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b78c7',
    500: '#5243ae',
    950: '#000000',
  },
}
SCSS
$custom: #5243ae;
$custom-light: #8b78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5243ae",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 248.411,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.16366,
    "h": 284.3
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#5243AE
secondary
#BAC28B
accent
#D454C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5243AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5243AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva