#6052F1#6052F1

#6052F1 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.228 H 279.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6052F1
RGBrgb(96, 82, 241)
HSLhsl(245, 85%, 63%)
HSVhsv(245, 66%, 95%)
CMYKcmyk(60.2%, 66%, 0%, 5.5%)
CIE-LABlab(45.46, 49.87, -78.07)
CIE-LCHlch(45.46, 92.64, 302.57°)
OKLaboklab(55.09% 0.0387 -0.2249)
OKLCHoklch(55.09% 0.228 279.8)
XYZxyz(23.7133, 14.8705, 84.8227)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052F1 #E3F152
analogous
#5293F1 #6052F1 #AF52F1
triadic
#6052F1 #F16052 #52F160
tetradic
#6052F1 #F15293 #E3F152 #52F1AF
square
#6052F1 #F15293 #E3F152 #52F1AF
split-complementary
#6052F1 #F1AF52 #93F152
monochromatic
#1E0FBA #2C19EC #6052F1 #948BF6 #C8C3FA

Accessibility & contrast

On white

5.28
#6052F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6052F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052F1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052F1#FFFFFF#000000##FFFFFF
##6052F11.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0065EE
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6052f1;
/* rgb */ color: rgb(96, 82, 241);
/* oklch */ color: oklch(55.1% 0.228 279.8);
Tailwind
colors: {
  custom: {
    50: '#9c84f7',
    500: '#6052f1',
    950: '#000000',
  },
}
SCSS
$custom: #6052f1;
$custom-light: #9c84f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6052f1",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 245.283,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.22824,
    "h": 279.8
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#6052F1
secondary
#E7ECB3
accent
#E204CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6052F1

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

Preview Lab → · Contrast checker → · Palette generator →

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