#5243D5#5243D5

#5243D5 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.213 H 279.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5243D5
RGBrgb(82, 67, 213)
HSLhsl(246, 63%, 55%)
HSVhsv(246, 69%, 84%)
CMYKcmyk(61.5%, 68.5%, 0%, 16.5%)
CIE-LABlab(38.92, 47.70, -72.91)
CIE-LCHlch(38.92, 87.12, 303.20°)
OKLaboklab(49.38% 0.0363 -0.2102)
OKLCHoklch(49.38% 0.213 279.8)
XYZxyz(17.4933, 10.6109, 64.0642)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243D5 #C6D543
analogous
#437DD5 #5243D5 #9B43D5
triadic
#5243D5 #D55243 #43D552
tetradic
#5243D5 #D5437D #C6D543 #43D59B
square
#5243D5 #D5437D #C6D543 #43D59B
split-complementary
#5243D5 #D59B43 #7DD543
monochromatic
#271D81 #3628B3 #5243D5 #8075E0 #AEA7EB

Accessibility & contrast

On white

6.73
#5243D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5243D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243D5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243D5#FFFFFF#000000##FFFFFF
##5243D51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5243d5;
/* rgb */ color: rgb(82, 67, 213);
/* oklch */ color: oklch(49.4% 0.213 279.8);
Tailwind
colors: {
  custom: {
    50: '#9179e3',
    500: '#5243d5',
    950: '#000000',
  },
}
SCSS
$custom: #5243d5;
$custom-light: #9179e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5243d5",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 246.164,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.21329,
    "h": 279.8
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5243D5

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

Preview Lab → · Contrast checker → · Palette generator →

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