#5243DB#5243DB

#5243DB is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.221 H 279.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5243DB
RGBrgb(82, 67, 219)
HSLhsl(246, 68%, 56%)
HSVhsv(246, 69%, 86%)
CMYKcmyk(62.6%, 69.4%, 0%, 14.1%)
CIE-LABlab(39.45, 49.56, -75.48)
CIE-LCHlch(39.45, 90.29, 303.29°)
OKLaboklab(49.92% 0.0353 -0.2177)
OKLCHoklch(49.92% 0.221 279.2)
XYZxyz(18.2689, 10.9212, 68.1494)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243DB #CCDB43
analogous
#4380DB #5243DB #9E43DB
triadic
#5243DB #DB5243 #43DB52
tetradic
#5243DB #DB4380 #CCDB43 #43DB9E
square
#5243DB #DB4380 #CCDB43 #43DB9E
split-complementary
#5243DB #DB9E43 #80DB43
monochromatic
#251A89 #3324BD #5243DB #8176E5 #B1AAEF

Accessibility & contrast

On white

6.59
#5243DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5243DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243DB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243DB#FFFFFF#000000##FFFFFF
##5243DB1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5243db;
/* rgb */ color: rgb(82, 67, 219);
/* oklch */ color: oklch(49.9% 0.221 279.2);
Tailwind
colors: {
  custom: {
    50: '#9279e7',
    500: '#5243db',
    950: '#000000',
  },
}
SCSS
$custom: #5243db;
$custom-light: #9279e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5243db",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 245.921,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.22057,
    "h": 279.2
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#5243DB
secondary
#D6DC9E
accent
#EB3DDA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5243DB

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

Preview Lab → · Contrast checker → · Palette generator →

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