#5243D6#5243D6

#5243D6 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.215 H 279.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5243D6
RGBrgb(82, 67, 214)
HSLhsl(246, 64%, 55%)
HSVhsv(246, 69%, 84%)
CMYKcmyk(61.7%, 68.7%, 0%, 16.1%)
CIE-LABlab(39.01, 48.01, -73.34)
CIE-LCHlch(39.01, 87.65, 303.21°)
OKLaboklab(49.47% 0.0361 -0.2115)
OKLCHoklch(49.47% 0.215 279.7)
XYZxyz(17.6206, 10.6619, 64.7347)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243D6 #C7D643
analogous
#437ED6 #5243D6 #9B43D6
triadic
#5243D6 #D65243 #43D652
tetradic
#5243D6 #D6437E #C7D643 #43D69B
square
#5243D6 #D6437E #C7D643 #43D69B
split-complementary
#5243D6 #D69B43 #7ED643
monochromatic
#271C82 #3627B4 #5243D6 #8075E1 #AEA7EC

Accessibility & contrast

On white

6.70
#5243D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5243D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243D6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243D6#FFFFFF#000000##FFFFFF
##5243D61.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DA
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5243d6;
/* rgb */ color: rgb(82, 67, 214);
/* oklch */ color: oklch(49.5% 0.215 279.7);
Tailwind
colors: {
  custom: {
    50: '#9179e4',
    500: '#5243d6',
    950: '#000000',
  },
}
SCSS
$custom: #5243d6;
$custom-light: #9179e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5243d6",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 246.122,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.21452,
    "h": 279.7
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#5243D6
secondary
#D3D99C
accent
#E741D6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5243D6

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

Preview Lab → · Contrast checker → · Palette generator →

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