#5243BF#5243BF

#5243BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.186 H 282.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5243BF
RGBrgb(82, 67, 191)
HSLhsl(247, 49%, 51%)
HSVhsv(247, 65%, 75%)
CMYKcmyk(57.1%, 64.9%, 0%, 25.1%)
CIE-LABlab(37.06, 40.83, -63.17)
CIE-LCHlch(37.06, 75.22, 302.88°)
OKLaboklab(47.46% 0.0391 -0.1817)
OKLCHoklch(47.46% 0.186 282.2)
XYZxyz(14.8879, 9.5688, 50.3426)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243BF #B0BF43
analogous
#4372BF #5243BF #9043BF
triadic
#5243BF #BF5243 #43BF52
tetradic
#5243BF #BF4372 #B0BF43 #43BF90
square
#5243BF #BF4372 #B0BF43 #43BF90
split-complementary
#5243BF #BF9043 #72BF43
monochromatic
#2B2265 #3E3293 #5243BF #7C71CF #A69EDE

Accessibility & contrast

On white

7.21
#5243BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5243BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243BF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243BF#FFFFFF#000000##FFFFFF
##5243BF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#17627B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5243bf;
/* rgb */ color: rgb(82, 67, 191);
/* oklch */ color: oklch(47.5% 0.186 282.2);
Tailwind
colors: {
  custom: {
    50: '#8d78d3',
    500: '#5243bf',
    950: '#000000',
  },
}
SCSS
$custom: #5243bf;
$custom-light: #8d78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5243bf",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 247.258,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.18583,
    "h": 282.2
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#5243BF
secondary
#C4CA93
accent
#D94FC8
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5243BF

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

Preview Lab → · Contrast checker → · Palette generator →

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