#6052CB#6052CB

#6052CB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.180 H 283.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6052CB
RGBrgb(96, 82, 203)
HSLhsl(247, 54%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(52.7%, 59.6%, 0%, 20.4%)
CIE-LABlab(42.51, 38.18, -61.23)
CIE-LCHlch(42.51, 72.16, 301.95°)
OKLaboklab(52.02% 0.0419 -0.1755)
OKLCHoklch(52.02% 0.18 283.4)
XYZxyz(18.6174, 12.8321, 57.9842)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052CB #BDCB52
analogous
#5280CB #6052CB #9C52CB
triadic
#6052CB #CB6052 #52CB60
tetradic
#6052CB #CB5280 #BDCB52 #52CB9C
square
#6052CB #CB5280 #BDCB52 #52CB9C
split-complementary
#6052CB #CB9C52 #80CB52
monochromatic
#30267D #4234AC #6052CB #8B81D9 #B6B0E7

Accessibility & contrast

On white

5.89
#6052CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6052CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052CB#FFFFFF#000000##FFFFFF
##6052CB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#336F87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6052cb;
/* rgb */ color: rgb(96, 82, 203);
/* oklch */ color: oklch(52.0% 0.180 283.4);
Tailwind
colors: {
  custom: {
    50: '#9683dc',
    500: '#6052cb',
    950: '#000000',
  },
}
SCSS
$custom: #6052cb;
$custom-light: #9683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6052cb",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 246.942,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.1804,
    "h": 283.4
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#6052CB
secondary
#D0D5A3
accent
#DD4BCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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