#5243B2#5243B2

#5243B2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.169 H 283.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5243B2
RGBrgb(82, 67, 178)
HSLhsl(248, 45%, 48%)
HSVhsv(248, 62%, 70%)
CMYKcmyk(53.9%, 62.4%, 0%, 30.2%)
CIE-LABlab(36.03, 36.76, -57.19)
CIE-LCHlch(36.03, 67.99, 302.73°)
OKLaboklab(46.39% 0.0403 -0.1641)
OKLCHoklch(46.39% 0.169 283.8)
XYZxyz(13.5203, 9.0217, 43.1398)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243B2 #A3B243
analogous
#436BB2 #5243B2 #8943B2
triadic
#5243B2 #B25243 #43B252
tetradic
#5243B2 #B2436B #A3B243 #43B289
square
#5243B2 #B2436B #A3B243 #43B289
split-complementary
#5243B2 #B28943 #6BB243
monochromatic
#292259 #3E3286 #5243B2 #776BC7 #A097D8

Accessibility & contrast

On white

7.49
#5243B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5243B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243B2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243B2#FFFFFF#000000##FFFFFF
##5243B21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#295E74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5243b2;
/* rgb */ color: rgb(82, 67, 178);
/* oklch */ color: oklch(46.4% 0.169 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b78ca',
    500: '#5243b2',
    950: '#000000',
  },
}
SCSS
$custom: #5243b2;
$custom-light: #8b78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5243b2",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 248.108,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.16895,
    "h": 283.8
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#5243B2
secondary
#BCC48D
accent
#D553C3
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5243B2

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

Preview Lab → · Contrast checker → · Palette generator →

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