#5243B5#5243B5

#5243B5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.173 H 283.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5243B5
RGBrgb(82, 67, 181)
HSLhsl(248, 46%, 49%)
HSVhsv(248, 63%, 71%)
CMYKcmyk(54.7%, 63%, 0%, 29%)
CIE-LABlab(36.26, 37.70, -58.59)
CIE-LCHlch(36.26, 69.67, 302.76°)
OKLaboklab(46.63% 0.0401 -0.1682)
OKLCHoklch(46.63% 0.173 283.4)
XYZxyz(13.8248, 9.1435, 44.7435)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243B5 #A6B543
analogous
#436DB5 #5243B5 #8B43B5
triadic
#5243B5 #B55243 #43B552
tetradic
#5243B5 #B5436D #A6B543 #43B58B
square
#5243B5 #B5436D #A6B543 #43B58B
split-complementary
#5243B5 #B58B43 #6DB543
monochromatic
#2A225C #3E3288 #5243B5 #796CC9 #A299D9

Accessibility & contrast

On white

7.42
#5243B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5243B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243B5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243B5#FFFFFF#000000##FFFFFF
##5243B51.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#265F76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5243b5;
/* rgb */ color: rgb(82, 67, 181);
/* oklch */ color: oklch(46.6% 0.173 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c78cc',
    500: '#5243b5',
    950: '#000000',
  },
}
SCSS
$custom: #5243b5;
$custom-light: #8c78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5243b5",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 247.895,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.17289,
    "h": 283.4
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#5243B5
secondary
#BEC58F
accent
#D652C4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5243B5

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

Preview Lab → · Contrast checker → · Palette generator →

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