#6047E8#6047E8

#6047E8 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.229 H 282.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6047E8
RGBrgb(96, 71, 232)
HSLhsl(249, 78%, 59%)
HSVhsv(249, 69%, 91%)
CMYKcmyk(58.6%, 69.4%, 0%, 9%)
CIE-LABlab(42.49, 53.20, -77.85)
CIE-LCHlch(42.49, 94.30, 304.35°)
OKLaboklab(52.72% 0.0485 -0.2243)
OKLCHoklch(52.72% 0.229 282.2)
XYZxyz(21.6381, 12.8180, 77.6622)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047E8 #CFE847
analogous
#477FE8 #6047E8 #B147E8
triadic
#6047E8 #E86047 #47E860
tetradic
#6047E8 #E8477F #CFE847 #47E8B1
square
#6047E8 #E8477F #CFE847 #47E8B1
split-complementary
#6047E8 #E8B147 #7FE847
monochromatic
#2A14A1 #381BD7 #6047E8 #8F7DEF #BEB4F6

Accessibility & contrast

On white

5.89
#6047E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6047E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047E8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047E8#FFFFFF#000000##FFFFFF
##6047E81.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6047e8;
/* rgb */ color: rgb(96, 71, 232);
/* oklch */ color: oklch(52.7% 0.229 282.2);
Tailwind
colors: {
  custom: {
    50: '#9b7df1',
    500: '#6047e8',
    950: '#000000',
  },
}
SCSS
$custom: #6047e8;
$custom-light: #9b7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6047e8",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 249.317,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.22948,
    "h": 282.2
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#6047E8
secondary
#DBE5A6
accent
#F434D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6047E8

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

Preview Lab → · Contrast checker → · Palette generator →

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