#5243C2#5243C2

#5243C2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.190 H 281.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5243C2
RGBrgb(82, 67, 194)
HSLhsl(247, 51%, 51%)
HSVhsv(247, 65%, 76%)
CMYKcmyk(57.7%, 65.5%, 0%, 23.9%)
CIE-LABlab(37.30, 41.77, -64.53)
CIE-LCHlch(37.30, 76.87, 302.92°)
OKLaboklab(47.72% 0.0388 -0.1856)
OKLCHoklch(47.72% 0.19 281.8)
XYZxyz(15.2214, 9.7022, 52.0991)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243C2 #B3C243
analogous
#4373C2 #5243C2 #9143C2
triadic
#5243C2 #C25243 #43C252
tetradic
#5243C2 #C24373 #B3C243 #43C291
square
#5243C2 #C24373 #B3C243 #43C291
split-complementary
#5243C2 #C29143 #73C243
monochromatic
#2A2269 #3D3197 #5243C2 #7D71D1 #A79FE0

Accessibility & contrast

On white

7.14
#5243C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5243C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243C2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243C2#FFFFFF#000000##FFFFFF
##5243C21.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#10637C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5243c2;
/* rgb */ color: rgb(82, 67, 194);
/* oklch */ color: oklch(47.7% 0.190 281.8);
Tailwind
colors: {
  custom: {
    50: '#8e78d5',
    500: '#5243c2',
    950: '#000000',
  },
}
SCSS
$custom: #5243c2;
$custom-light: #8e78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5243c2",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 247.087,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.18964,
    "h": 281.8
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#5243C2
secondary
#C6CC94
accent
#DA4DCA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5243C2

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

Preview Lab → · Contrast checker → · Palette generator →

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