#5243C3#5243C3

#5243C3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.8% C 0.191 H 281.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5243C3
RGBrgb(82, 67, 195)
HSLhsl(247, 52%, 51%)
HSVhsv(247, 66%, 76%)
CMYKcmyk(57.9%, 65.6%, 0%, 23.5%)
CIE-LABlab(37.38, 42.08, -64.98)
CIE-LCHlch(37.38, 77.42, 302.93°)
OKLaboklab(47.8% 0.0387 -0.1869)
OKLCHoklch(47.8% 0.191 281.7)
XYZxyz(15.3341, 9.7473, 52.6926)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243C3 #B4C343
analogous
#4374C3 #5243C3 #9243C3
triadic
#5243C3 #C35243 #43C352
tetradic
#5243C3 #C34374 #B4C343 #43C392
square
#5243C3 #C34374 #B4C343 #43C392
split-complementary
#5243C3 #C39243 #74C343
monochromatic
#2A226A #3D3198 #5243C3 #7D71D2 #A7A0E1

Accessibility & contrast

On white

7.12
#5243C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5243C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243C3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243C3#FFFFFF#000000##FFFFFF
##5243C31.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#0D647D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5243c3;
/* rgb */ color: rgb(82, 67, 195);
/* oklch */ color: oklch(47.8% 0.191 281.7);
Tailwind
colors: {
  custom: {
    50: '#8e78d6',
    500: '#5243c3',
    950: '#000000',
  },
}
SCSS
$custom: #5243c3;
$custom-light: #8e78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5243c3",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 247.031,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.19091,
    "h": 281.7
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#5243C3
secondary
#C7CD95
accent
#DB4DCA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5243C3

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

Preview Lab → · Contrast checker → · Palette generator →

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