#5243D4#5243D4

#5243D4 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.212 H 279.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5243D4
RGBrgb(82, 67, 212)
HSLhsl(246, 63%, 55%)
HSVhsv(246, 68%, 83%)
CMYKcmyk(61.3%, 68.4%, 0%, 16.9%)
CIE-LABlab(38.83, 47.39, -72.47)
CIE-LCHlch(38.83, 86.59, 303.18°)
OKLaboklab(49.29% 0.0364 -0.2089)
OKLCHoklch(49.29% 0.212 279.9)
XYZxyz(17.3667, 10.5603, 63.3978)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243D4 #C5D443
analogous
#437CD4 #5243D4 #9B43D4
triadic
#5243D4 #D45243 #43D452
tetradic
#5243D4 #D4437C #C5D443 #43D49B
square
#5243D4 #D4437C #C5D443 #43D49B
split-complementary
#5243D4 #D49B43 #7CD443
monochromatic
#271D7F #3729B1 #5243D4 #8075DF #AEA7EB

Accessibility & contrast

On white

6.75
#5243D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5243D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243D4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243D4#FFFFFF#000000##FFFFFF
##5243D41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5243d4;
/* rgb */ color: rgb(82, 67, 212);
/* oklch */ color: oklch(49.3% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#9179e2',
    500: '#5243d4',
    950: '#000000',
  },
}
SCSS
$custom: #5243d4;
$custom-light: #9179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5243d4",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 246.207,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.21208,
    "h": 279.9
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#5243D4
secondary
#D2D89B
accent
#E642D5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5243D4

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

Preview Lab → · Contrast checker → · Palette generator →

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