#5243C7#5243C7

#5243C7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.1% C 0.196 H 281.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5243C7
RGBrgb(82, 67, 199)
HSLhsl(247, 54%, 52%)
HSVhsv(247, 66%, 78%)
CMYKcmyk(58.8%, 66.3%, 0%, 22%)
CIE-LABlab(37.72, 43.34, -66.77)
CIE-LCHlch(37.72, 79.60, 302.99°)
OKLaboklab(48.15% 0.0382 -0.1922)
OKLCHoklch(48.15% 0.196 281.2)
XYZxyz(15.7924, 9.9306, 55.1064)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243C7 #B8C743
analogous
#4376C7 #5243C7 #9443C7
triadic
#5243C7 #C75243 #43C752
tetradic
#5243C7 #C74376 #B8C743 #43C794
square
#5243C7 #C74376 #B8C743 #43C794
split-complementary
#5243C7 #C79443 #76C743
monochromatic
#2A216F #3C2F9E #5243C7 #7D72D5 #A9A1E3

Accessibility & contrast

On white

7.03
#5243C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5243C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243C7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243C7#FFFFFF#000000##FFFFFF
##5243C71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5243c7;
/* rgb */ color: rgb(82, 67, 199);
/* oklch */ color: oklch(48.1% 0.196 281.2);
Tailwind
colors: {
  custom: {
    50: '#8f78d9',
    500: '#5243c7',
    950: '#000000',
  },
}
SCSS
$custom: #5243c7;
$custom-light: #8f78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5243c7",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 246.818,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.19596,
    "h": 281.2
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#5243C7
secondary
#C9D096
accent
#DD4ACD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5243C7

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

Preview Lab → · Contrast checker → · Palette generator →

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