#6052D4#6052D4

#6052D4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.7% C 0.192 H 282.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6052D4
RGBrgb(96, 82, 212)
HSLhsl(246, 60%, 58%)
HSVhsv(246, 61%, 83%)
CMYKcmyk(54.7%, 61.3%, 0%, 16.9%)
CIE-LABlab(43.17, 40.95, -65.34)
CIE-LCHlch(43.17, 77.11, 302.08°)
OKLaboklab(52.72% 0.0414 -0.1875)
OKLCHoklch(52.72% 0.192 282.5)
XYZxyz(19.7212, 13.2737, 63.7975)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052D4 #C6D452
analogous
#5285D4 #6052D4 #A152D4
triadic
#6052D4 #D46052 #52D460
tetradic
#6052D4 #D45285 #C6D452 #52D4A1
square
#6052D4 #D45285 #C6D452 #52D4A1
split-complementary
#6052D4 #D4A152 #85D452
monochromatic
#2D2289 #3D2EBA #6052D4 #8D83E0 #BAB4EC

Accessibility & contrast

On white

5.75
#6052D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6052D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052D4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052D4#FFFFFF#000000##FFFFFF
##6052D41.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#2A718B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6052d4;
/* rgb */ color: rgb(96, 82, 212);
/* oklch */ color: oklch(52.7% 0.192 282.5);
Tailwind
colors: {
  custom: {
    50: '#9783e2',
    500: '#6052d4',
    950: '#000000',
  },
}
SCSS
$custom: #6052d4;
$custom-light: #9783e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6052d4",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 246.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.19206,
    "h": 282.5
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#6052D4
secondary
#D5DBA7
accent
#E344D2
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B15
muted
#7E7C84

Preview Lab

Preview with #6052D4

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

Preview Lab → · Contrast checker → · Palette generator →

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