#6052D2#6052D2

#6052D2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.6% C 0.189 H 282.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6052D2
RGBrgb(96, 82, 210)
HSLhsl(247, 59%, 57%)
HSVhsv(247, 61%, 82%)
CMYKcmyk(54.3%, 61%, 0%, 17.6%)
CIE-LABlab(43.02, 40.34, -64.43)
CIE-LCHlch(43.02, 76.01, 302.05°)
OKLaboklab(52.56% 0.0415 -0.1849)
OKLCHoklch(52.56% 0.189 282.7)
XYZxyz(19.4705, 13.1734, 62.4770)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052D2 #C4D252
analogous
#5284D2 #6052D2 #A052D2
triadic
#6052D2 #D26052 #52D260
tetradic
#6052D2 #D25284 #C4D252 #52D2A0
square
#6052D2 #D25284 #C4D252 #52D2A0
split-complementary
#6052D2 #D2A052 #84D252
monochromatic
#2E2387 #3E30B7 #6052D2 #8D83DF #B9B3EB

Accessibility & contrast

On white

5.78
#6052D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6052D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052D2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052D2#FFFFFF#000000##FFFFFF
##6052D21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#2C718A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6052d2;
/* rgb */ color: rgb(96, 82, 210);
/* oklch */ color: oklch(52.6% 0.189 282.7);
Tailwind
colors: {
  custom: {
    50: '#9783e1',
    500: '#6052d2',
    950: '#000000',
  },
}
SCSS
$custom: #6052d2;
$custom-light: #9783e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6052d2",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 246.563,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.18949,
    "h": 282.7
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#6052D2
secondary
#D4DAA6
accent
#E246D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6052D2

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

Preview Lab → · Contrast checker → · Palette generator →

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