#5243DC#5243DC

#5243DC is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.222 H 279.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5243DC
RGBrgb(82, 67, 220)
HSLhsl(246, 69%, 56%)
HSVhsv(246, 70%, 86%)
CMYKcmyk(62.7%, 69.5%, 0%, 13.7%)
CIE-LABlab(39.54, 49.87, -75.91)
CIE-LCHlch(39.54, 90.82, 303.30°)
OKLaboklab(50.01% 0.0351 -0.219)
OKLCHoklch(50.01% 0.222 279.1)
XYZxyz(18.4010, 10.9740, 68.8448)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243DC #CDDC43
analogous
#4381DC #5243DC #9F43DC
triadic
#5243DC #DC5243 #43DC52
tetradic
#5243DC #DC4381 #CDDC43 #43DC9F
square
#5243DC #DC4381 #CDDC43 #43DC9F
split-complementary
#5243DC #DC9F43 #81DC43
monochromatic
#251A8B #3323BE #5243DC #8177E6 #B1AAEF

Accessibility & contrast

On white

6.57
#5243DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5243DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243DC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243DC#FFFFFF#000000##FFFFFF
##5243DC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5243dc;
/* rgb */ color: rgb(82, 67, 220);
/* oklch */ color: oklch(50.0% 0.222 279.1);
Tailwind
colors: {
  custom: {
    50: '#9279e8',
    500: '#5243dc',
    950: '#000000',
  },
}
SCSS
$custom: #5243dc;
$custom-light: #9279e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5243dc",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 245.882,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.22178,
    "h": 279.1
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#5243DC
secondary
#D7DD9E
accent
#EB3CDA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5243DC

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

Preview Lab → · Contrast checker → · Palette generator →

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