#5243C0#5243C0

#5243C0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.187 H 282.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5243C0
RGBrgb(82, 67, 192)
HSLhsl(247, 50%, 51%)
HSVhsv(247, 65%, 75%)
CMYKcmyk(57.3%, 65.1%, 0%, 24.7%)
CIE-LABlab(37.14, 41.15, -63.63)
CIE-LCHlch(37.14, 75.77, 302.89°)
OKLaboklab(47.55% 0.039 -0.183)
OKLCHoklch(47.55% 0.187 282)
XYZxyz(14.9983, 9.6129, 50.9241)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243C0 #B1C043
analogous
#4372C0 #5243C0 #9043C0
triadic
#5243C0 #C05243 #43C052
tetradic
#5243C0 #C04372 #B1C043 #43C090
square
#5243C0 #C04372 #B1C043 #43C090
split-complementary
#5243C0 #C09043 #72C043
monochromatic
#2A2266 #3D3294 #5243C0 #7C71CF #A69FDF

Accessibility & contrast

On white

7.18
#5243C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5243C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243C0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243C0#FFFFFF#000000##FFFFFF
##5243C01.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#15627B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5243c0;
/* rgb */ color: rgb(82, 67, 192);
/* oklch */ color: oklch(47.5% 0.187 282.0);
Tailwind
colors: {
  custom: {
    50: '#8d78d4',
    500: '#5243c0',
    950: '#000000',
  },
}
SCSS
$custom: #5243c0;
$custom-light: #8d78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5243c0",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 247.2,
    "s": 49.801,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.18711,
    "h": 282
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#5243C0
secondary
#C4CB94
accent
#D94EC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5243C0

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

Preview Lab → · Contrast checker → · Palette generator →

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