#6047DF#6047DF

#6047DF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.219 H 283.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6047DF
RGBrgb(96, 71, 223)
HSLhsl(250, 70%, 58%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(57%, 68.2%, 0%, 12.5%)
CIE-LABlab(41.72, 50.53, -74.00)
CIE-LCHlch(41.72, 89.61, 304.33°)
OKLaboklab(51.93% 0.05 -0.213)
OKLCHoklch(51.93% 0.219 283.2)
XYZxyz(20.3923, 12.3197, 71.1011)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047DF #C6DF47
analogous
#477ADF #6047DF #AC47DF
triadic
#6047DF #DF6047 #47DF60
tetradic
#6047DF #DF477A #C6DF47 #47DFAC
square
#6047DF #DF477A #C6DF47 #47DFAC
split-complementary
#6047DF #DFAC47 #7ADF47
monochromatic
#2D1992 #3D22C6 #6047DF #8D7BE8 #BAAFF1

Accessibility & contrast

On white

6.06
#6047DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6047DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047DF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047DF#FFFFFF#000000##FFFFFF
##6047DF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#1A6F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6047df;
/* rgb */ color: rgb(96, 71, 223);
/* oklch */ color: oklch(51.9% 0.219 283.2);
Tailwind
colors: {
  custom: {
    50: '#997cea',
    500: '#6047df',
    950: '#000000',
  },
}
SCSS
$custom: #6047df;
$custom-light: #997cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6047df",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 249.868,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.21878,
    "h": 283.2
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#6047DF
secondary
#D5DFA2
accent
#ED3BD0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6047DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6047DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva