#6052AE#6052AE

#6052AE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.141 H 287.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6052AE
RGBrgb(96, 82, 174)
HSLhsl(249, 36%, 50%)
HSVhsv(249, 53%, 68%)
CMYKcmyk(44.8%, 52.9%, 0%, 31.8%)
CIE-LABlab(40.54, 29.36, -47.48)
CIE-LCHlch(40.54, 55.83, 301.73°)
OKLaboklab(49.93% 0.0416 -0.135)
OKLCHoklch(49.93% 0.141 287.1)
XYZxyz(15.4790, 11.5768, 41.4551)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052AE #A0AE52
analogous
#5272AE #6052AE #8E52AE
triadic
#6052AE #AE6052 #52AE60
tetradic
#6052AE #AE5272 #A0AE52 #52AE8E
square
#6052AE #AE5272 #A0AE52 #52AE8E
split-complementary
#6052AE #AE8E52 #72AE52
monochromatic
#322B5B #493E85 #6052AE #867CC2 #ADA5D5

Accessibility & contrast

On white

6.33
#6052AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6052AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052AE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052AE#FFFFFF#000000##FFFFFF
##6052AE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#486678
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6052ae;
/* rgb */ color: rgb(96, 82, 174);
/* oklch */ color: oklch(49.9% 0.141 287.1);
Tailwind
colors: {
  custom: {
    50: '#9283c7',
    500: '#6052ae',
    950: '#000000',
  },
}
SCSS
$custom: #6052ae;
$custom-light: #9283c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6052ae",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 249.13,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.14129,
    "h": 287.1
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#6052AE
secondary
#BCC299
accent
#CC5CBB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6052AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6052AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva