#5243D8#5243D8

#5243D8 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.217 H 279.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5243D8
RGBrgb(82, 67, 216)
HSLhsl(246, 66%, 55%)
HSVhsv(246, 69%, 85%)
CMYKcmyk(62%, 69%, 0%, 15.3%)
CIE-LABlab(39.18, 48.63, -74.20)
CIE-LCHlch(39.18, 88.71, 303.24°)
OKLaboklab(49.65% 0.0358 -0.214)
OKLCHoklch(49.65% 0.217 279.5)
XYZxyz(17.8775, 10.7646, 66.0881)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243D8 #C9D843
analogous
#437FD8 #5243D8 #9C43D8
triadic
#5243D8 #D85243 #43D852
tetradic
#5243D8 #D8437F #C9D843 #43D89C
square
#5243D8 #D8437F #C9D843 #43D89C
split-complementary
#5243D8 #D89C43 #7FD843
monochromatic
#261C85 #3526B8 #5243D8 #8176E3 #AFA8ED

Accessibility & contrast

On white

6.66
#5243D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5243D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243D8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243D8#FFFFFF#000000##FFFFFF
##5243D81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0056D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5243d8;
/* rgb */ color: rgb(82, 67, 216);
/* oklch */ color: oklch(49.6% 0.217 279.5);
Tailwind
colors: {
  custom: {
    50: '#9279e5',
    500: '#5243d8',
    950: '#000000',
  },
}
SCSS
$custom: #5243d8;
$custom-light: #9279e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5243d8",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 246.04,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.21694,
    "h": 279.5
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#5243D8
secondary
#D4DA9C
accent
#E93FD8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5243D8

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

Preview Lab → · Contrast checker → · Palette generator →

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