#6052DB#6052DB

#6052DB is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.201 H 281.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6052DB
RGBrgb(96, 82, 219)
HSLhsl(246, 66%, 59%)
HSVhsv(246, 63%, 86%)
CMYKcmyk(56.2%, 62.6%, 0%, 14.1%)
CIE-LABlab(43.70, 43.11, -68.47)
CIE-LCHlch(43.70, 80.91, 302.19°)
OKLaboklab(53.27% 0.0409 -0.1968)
OKLCHoklch(53.27% 0.201 281.8)
XYZxyz(20.6234, 13.6345, 68.5491)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052DB #CDDB52
analogous
#5289DB #6052DB #A452DB
triadic
#6052DB #DB6052 #52DB60
tetradic
#6052DB #DB5289 #CDDB52 #52DBA4
square
#6052DB #DB5289 #CDDB52 #52DBA4
split-complementary
#6052DB #DBA452 #89DB52
monochromatic
#2B1F94 #3929C6 #6052DB #8F85E6 #BDB7F0

Accessibility & contrast

On white

5.63
#6052DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6052DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052DB#FFFFFF#000000##FFFFFF
##6052DB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#1F748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6052db;
/* rgb */ color: rgb(96, 82, 219);
/* oklch */ color: oklch(53.3% 0.201 281.8);
Tailwind
colors: {
  custom: {
    50: '#9883e7',
    500: '#6052db',
    950: '#000000',
  },
}
SCSS
$custom: #6052db;
$custom-light: #9883e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6052db",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 246.131,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.20098,
    "h": 281.8
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#6052DB
secondary
#DADFAA
accent
#E93FD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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