#6052BF#6052BF

#6052BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.165 H 284.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6052BF
RGBrgb(96, 82, 191)
HSLhsl(248, 46%, 54%)
HSVhsv(248, 57%, 75%)
CMYKcmyk(49.7%, 57.1%, 0%, 25.1%)
CIE-LABlab(41.66, 34.51, -55.64)
CIE-LCHlch(41.66, 65.48, 301.80°)
OKLaboklab(51.13% 0.0421 -0.159)
OKLCHoklch(51.13% 0.165 284.8)
XYZxyz(17.2423, 12.2821, 50.7423)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6052BF #B1BF52
analogous
#527ABF #6052BF #9652BF
triadic
#6052BF #BF6052 #52BF60
tetradic
#6052BF #BF527A #B1BF52 #52BF96
square
#6052BF #BF527A #B1BF52 #52BF96
split-complementary
#6052BF #BF9652 #7ABF52
monochromatic
#32296E #46399B #6052BF #897FD0 #B2ABE0

Accessibility & contrast

On white

6.08
#6052BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6052BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6052BF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6052BF#FFFFFF#000000##FFFFFF
##6052BF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3D6B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6052bf;
/* rgb */ color: rgb(96, 82, 191);
/* oklch */ color: oklch(51.1% 0.165 284.8);
Tailwind
colors: {
  custom: {
    50: '#9483d3',
    500: '#6052bf',
    950: '#000000',
  },
}
SCSS
$custom: #6052bf;
$custom-light: #9483d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6052bf",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 247.706,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.16451,
    "h": 284.8
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#6052BF
secondary
#C8CE9F
accent
#D652C5
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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