#5246AF#5246AF

#5246AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.161 H 283.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5246AF
RGBrgb(82, 70, 175)
HSLhsl(247, 43%, 48%)
HSVhsv(247, 60%, 69%)
CMYKcmyk(53.1%, 60%, 0%, 31.4%)
CIE-LABlab(36.50, 33.99, -54.65)
CIE-LCHlch(36.50, 64.36, 301.88°)
OKLaboklab(46.66% 0.0373 -0.1566)
OKLCHoklch(46.66% 0.161 283.4)
XYZxyz(13.4053, 9.2686, 41.6318)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5246AF #A3AF46
analogous
#466EAF #5246AF #8646AF
triadic
#5246AF #AF5246 #46AF52
tetradic
#5246AF #AF466E #A3AF46 #46AF86
square
#5246AF #AF466E #A3AF46 #46AF86
split-complementary
#5246AF #AF8646 #6EAF46
monochromatic
#292358 #3E3583 #5246AF #776DC5 #A099D6

Accessibility & contrast

On white

7.36
#5246AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5246AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5246AF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5246AF#FFFFFF#000000##FFFFFF
##5246AF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#2B5F73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5246af;
/* rgb */ color: rgb(82, 70, 175);
/* oklch */ color: oklch(46.7% 0.161 283.4);
Tailwind
colors: {
  custom: {
    50: '#8a7ac8',
    500: '#5246af',
    950: '#000000',
  },
}
SCSS
$custom: #5246af;
$custom-light: #8a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#5246af",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 246.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.16097,
    "h": 283.4
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#5246AF
secondary
#BCC28E
accent
#D355C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5246AF

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

Preview Lab → · Contrast checker → · Palette generator →

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