#5243C4#5243C4

#5243C4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.9% C 0.192 H 281.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5243C4
RGBrgb(82, 67, 196)
HSLhsl(247, 52%, 52%)
HSVhsv(247, 66%, 77%)
CMYKcmyk(58.2%, 65.8%, 0%, 23.1%)
CIE-LABlab(37.47, 42.40, -65.43)
CIE-LCHlch(37.47, 77.96, 302.94°)
OKLaboklab(47.89% 0.0386 -0.1883)
OKLCHoklch(47.89% 0.192 281.6)
XYZxyz(15.4475, 9.7926, 53.2900)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243C4 #B5C443
analogous
#4375C4 #5243C4 #9343C4
triadic
#5243C4 #C45243 #43C452
tetradic
#5243C4 #C44375 #B5C443 #43C493
square
#5243C4 #C44375 #B5C443 #43C493
split-complementary
#5243C4 #C49343 #75C443
monochromatic
#2A226B #3C309A #5243C4 #7D72D3 #A8A0E1

Accessibility & contrast

On white

7.10
#5243C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5243C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243C4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243C4#FFFFFF#000000##FFFFFF
##5243C41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#0A647E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5243c4;
/* rgb */ color: rgb(82, 67, 196);
/* oklch */ color: oklch(47.9% 0.192 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e78d7',
    500: '#5243c4',
    950: '#000000',
  },
}
SCSS
$custom: #5243c4;
$custom-light: #8e78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5243c4",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 246.977,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.19218,
    "h": 281.6
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#5243C4
secondary
#C7CE95
accent
#DC4CCB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5243C4

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

Preview Lab → · Contrast checker → · Palette generator →

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