#5243AF#5243AF

#5243AF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.165 H 284.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#5243AF
RGBrgb(82, 67, 175)
HSLhsl(248, 45%, 47%)
HSVhsv(248, 62%, 69%)
CMYKcmyk(53.1%, 61.7%, 0%, 31.4%)
CIE-LABlab(35.80, 35.82, -55.79)
CIE-LCHlch(35.80, 66.30, 302.70°)
OKLaboklab(46.15% 0.0405 -0.1599)
OKLCHoklch(46.15% 0.165 284.2)
XYZxyz(13.2224, 8.9026, 41.5708)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243AF #A0AF43
analogous
#436AAF #5243AF #8843AF
triadic
#5243AF #AF5243 #43AF52
tetradic
#5243AF #AF436A #A0AF43 #43AF88
square
#5243AF #AF436A #A0AF43 #43AF88
split-complementary
#5243AF #AF8843 #6AAF43
monochromatic
#292156 #3D3283 #5243AF #7669C6 #9F96D7

Accessibility & contrast

On white

7.55
#5243AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5243AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5243AF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243AF#FFFFFF#000000##FFFFFF
##5243AF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#2C5D72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5243af;
/* rgb */ color: rgb(82, 67, 175);
/* oklch */ color: oklch(46.1% 0.165 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b78c8',
    500: '#5243af',
    950: '#000000',
  },
}
SCSS
$custom: #5243af;
$custom-light: #8b78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5243af",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 248.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46148,
    "c": 0.16499,
    "h": 284.2
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#5243AF
secondary
#BBC28B
accent
#D453C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5243AF

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

Preview Lab → · Contrast checker → · Palette generator →

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