#6052AF#6052AF

#6052AF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.143 H 287.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6052AF
RGBrgb(96, 82, 175)
HSLhsl(249, 37%, 50%)
HSVhsv(249, 53%, 69%)
CMYKcmyk(45.1%, 53.1%, 0%, 31.4%)
CIE-LABlab(40.60, 29.66, -47.97)
CIE-LCHlch(40.60, 56.40, 301.73°)
OKLaboklab(50% 0.0416 -0.1365)
OKLCHoklch(50% 0.143 287)
XYZxyz(15.5768, 11.6159, 41.9705)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052AF #A1AF52
analogous
#5272AF #6052AF #8E52AF
triadic
#6052AF #AF6052 #52AF60
tetradic
#6052AF #AF5272 #A1AF52 #52AF8E
square
#6052AF #AF5272 #A1AF52 #52AF8E
split-complementary
#6052AF #AF8E52 #72AF52
monochromatic
#322B5C #493E86 #6052AF #867CC2 #ADA6D6

Accessibility & contrast

On white

6.32
#6052AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6052AF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052AF#FFFFFF#000000##FFFFFF
##6052AF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#476678
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6052af;
/* rgb */ color: rgb(96, 82, 175);
/* oklch */ color: oklch(50.0% 0.143 287.0);
Tailwind
colors: {
  custom: {
    50: '#9283c7',
    500: '#6052af',
    950: '#000000',
  },
}
SCSS
$custom: #6052af;
$custom-light: #9283c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6052af",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 249.032,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.14268,
    "h": 287
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#6052AF
secondary
#BDC39A
accent
#CD5BBC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6052AF

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

Preview Lab → · Contrast checker → · Palette generator →

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