#5243D2#5243D2

#5243D2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.210 H 280.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5243D2
RGBrgb(82, 67, 210)
HSLhsl(246, 61%, 54%)
HSVhsv(246, 68%, 82%)
CMYKcmyk(61%, 68.1%, 0%, 17.6%)
CIE-LABlab(38.66, 46.77, -71.61)
CIE-LCHlch(38.66, 85.53, 303.15°)
OKLaboklab(49.11% 0.0367 -0.2064)
OKLCHoklch(49.11% 0.21 280.1)
XYZxyz(17.1160, 10.4600, 62.0773)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243D2 #C3D243
analogous
#437CD2 #5243D2 #9A43D2
triadic
#5243D2 #D25243 #43D252
tetradic
#5243D2 #D2437C #C3D243 #43D29A
square
#5243D2 #D2437C #C3D243 #43D29A
split-complementary
#5243D2 #D29A43 #7CD243
monochromatic
#281E7D #382AAE #5243D2 #7F74DE #ADA6EA

Accessibility & contrast

On white

6.79
#5243D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5243D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243D2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243D2#FFFFFF#000000##FFFFFF
##5243D21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5243d2;
/* rgb */ color: rgb(82, 67, 210);
/* oklch */ color: oklch(49.1% 0.210 280.1);
Tailwind
colors: {
  custom: {
    50: '#9079e1',
    500: '#5243d2',
    950: '#000000',
  },
}
SCSS
$custom: #5243d2;
$custom-light: #9079e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5243d2",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 246.294,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.20963,
    "h": 280.1
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#5243D2
secondary
#D0D79A
accent
#E443D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5243D2

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

Preview Lab → · Contrast checker → · Palette generator →

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