#6052E8#6052E8

#6052E8 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.217 H 280.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6052E8
RGBrgb(96, 82, 232)
HSLhsl(246, 77%, 62%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.6%, 64.7%, 0%, 9%)
CIE-LABlab(44.73, 47.11, -74.19)
CIE-LCHlch(44.73, 87.88, 302.41°)
OKLaboklab(54.33% 0.0397 -0.2136)
OKLCHoklch(54.33% 0.217 280.5)
XYZxyz(22.4021, 14.3460, 77.9169)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052E8 #DAE852
analogous
#528FE8 #6052E8 #AB52E8
triadic
#6052E8 #E86052 #52E860
tetradic
#6052E8 #E8528F #DAE852 #52E8AB
square
#6052E8 #E8528F #DAE852 #52E8AB
split-complementary
#6052E8 #E8AB52 #8FE852
monochromatic
#2416A9 #301EDF #6052E8 #9288EF #C3BEF6

Accessibility & contrast

On white

5.43
#6052E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6052E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052E8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052E8#FFFFFF#000000##FFFFFF
##6052E81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6052e8;
/* rgb */ color: rgb(96, 82, 232);
/* oklch */ color: oklch(54.3% 0.217 280.5);
Tailwind
colors: {
  custom: {
    50: '#9a84f0',
    500: '#6052e8',
    950: '#000000',
  },
}
SCSS
$custom: #6052e8;
$custom-light: #9a84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6052e8",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 245.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.21723,
    "h": 280.5
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#6052E8
secondary
#E2E7AF
accent
#D90DC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6052E8

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

Preview Lab → · Contrast checker → · Palette generator →

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