#5243E2#5243E2

#5243E2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.229 H 278.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5243E2
RGBrgb(82, 67, 226)
HSLhsl(246, 73%, 57%)
HSVhsv(246, 70%, 89%)
CMYKcmyk(63.7%, 70.4%, 0%, 11.4%)
CIE-LABlab(40.08, 51.71, -78.44)
CIE-LCHlch(40.08, 93.96, 303.39°)
OKLaboklab(50.56% 0.0341 -0.2264)
OKLCHoklch(50.56% 0.229 278.6)
XYZxyz(19.2099, 11.2976, 73.1051)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243E2 #D3E243
analogous
#4384E2 #5243E2 #A143E2
triadic
#5243E2 #E25243 #43E252
tetradic
#5243E2 #E24384 #D3E243 #43E2A1
square
#5243E2 #E24384 #D3E243 #43E2A1
split-complementary
#5243E2 #E2A143 #84E243
monochromatic
#231794 #2F1FC9 #5243E2 #8378EA #B4ADF2

Accessibility & contrast

On white

6.44
#5243E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5243E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243E2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243E2#FFFFFF#000000##FFFFFF
##5243E21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5243e2;
/* rgb */ color: rgb(82, 67, 226);
/* oklch */ color: oklch(50.6% 0.229 278.6);
Tailwind
colors: {
  custom: {
    50: '#9379ec',
    500: '#5243e2',
    950: '#000000',
  },
}
SCSS
$custom: #5243e2;
$custom-light: #9379ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5243e2",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 245.66,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.22896,
    "h": 278.6
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#5243E2
secondary
#DAE1A0
accent
#F038DF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5243E2

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

Preview Lab → · Contrast checker → · Palette generator →

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