#6052F3#6052F3

#6052F3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.231 H 279.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6052F3
RGBrgb(96, 82, 243)
HSLhsl(245, 87%, 64%)
HSVhsv(245, 66%, 95%)
CMYKcmyk(60.5%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.62, 50.48, -78.92)
CIE-LCHlch(45.62, 93.68, 302.60°)
OKLaboklab(55.26% 0.0385 -0.2274)
OKLCHoklch(55.26% 0.231 279.6)
XYZxyz(24.0137, 14.9907, 86.4047)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052F3 #E5F352
analogous
#5294F3 #6052F3 #B052F3
triadic
#6052F3 #F36052 #52F360
tetradic
#6052F3 #F35294 #E5F352 #52F3B0
square
#6052F3 #F35294 #E5F352 #52F3B0
split-complementary
#6052F3 #F3B052 #94F352
monochromatic
#1C0DBD #2B19EF #6052F3 #958BF7 #C9C4FB

Accessibility & contrast

On white

5.25
#6052F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6052F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052F3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052F3#FFFFFF#000000##FFFFFF
##6052F31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6052f3;
/* rgb */ color: rgb(96, 82, 243);
/* oklch */ color: oklch(55.3% 0.231 279.6);
Tailwind
colors: {
  custom: {
    50: '#9c84f8',
    500: '#6052f3',
    950: '#000000',
  },
}
SCSS
$custom: #6052f3;
$custom-light: #9c84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6052f3",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 245.217,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.23065,
    "h": 279.6
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#6052F3
secondary
#E8EDB4
accent
#E402D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6052F3

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

Preview Lab → · Contrast checker → · Palette generator →

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