#5243E4#5243E4

#5243E4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.7% C 0.231 H 278.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5243E4
RGBrgb(82, 67, 228)
HSLhsl(246, 75%, 58%)
HSVhsv(246, 71%, 89%)
CMYKcmyk(64%, 70.6%, 0%, 10.6%)
CIE-LABlab(40.26, 52.33, -79.28)
CIE-LCHlch(40.26, 95.00, 303.43°)
OKLaboklab(50.75% 0.0338 -0.2288)
OKLCHoklch(50.75% 0.231 278.4)
XYZxyz(19.4859, 11.4080, 74.5588)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243E4 #D5E443
analogous
#4384E4 #5243E4 #A243E4
triadic
#5243E4 #E45243 #43E452
tetradic
#5243E4 #E44384 #D5E443 #43E4A2
square
#5243E4 #E44384 #D5E443 #43E4A2
split-complementary
#5243E4 #E4A243 #84E443
monochromatic
#221697 #2E1DCC #5243E4 #8379EC #B4AEF3

Accessibility & contrast

On white

6.40
#5243E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5243E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243E4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243E4#FFFFFF#000000##FFFFFF
##5243E41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E9
Deuteranopia (green-blind)
#0058E1
Tritanopia (blue-blind)
#006F8F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5243e4;
/* rgb */ color: rgb(82, 67, 228);
/* oklch */ color: oklch(50.7% 0.231 278.4);
Tailwind
colors: {
  custom: {
    50: '#9479ee',
    500: '#5243e4',
    950: '#000000',
  },
}
SCSS
$custom: #5243e4;
$custom-light: #9479ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5243e4",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 228
  },
  "hsl": {
    "h": 245.59,
    "s": 74.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.23133,
    "h": 278.4
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#5243E4
secondary
#DCE2A1
accent
#F236E0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #5243E4

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

Preview Lab → · Contrast checker → · Palette generator →

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