#6047E4#6047E4

#6047E4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.4% C 0.225 H 282.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6047E4
RGBrgb(96, 71, 228)
HSLhsl(250, 74%, 59%)
HSVhsv(250, 69%, 89%)
CMYKcmyk(57.9%, 68.9%, 0%, 10.6%)
CIE-LABlab(42.14, 52.02, -76.15)
CIE-LCHlch(42.14, 92.22, 304.34°)
OKLaboklab(52.37% 0.0492 -0.2193)
OKLCHoklch(52.37% 0.225 282.6)
XYZxyz(21.0764, 12.5933, 74.7039)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6047E4 #CBE447
analogous
#477CE4 #6047E4 #AE47E4
triadic
#6047E4 #E46047 #47E460
tetradic
#6047E4 #E4477C #CBE447 #47E4AE
square
#6047E4 #E4477C #CBE447 #47E4AE
split-complementary
#6047E4 #E4AE47 #7CE447
monochromatic
#2C179A #3B1ECF #6047E4 #8E7CEC #BCB2F4

Accessibility & contrast

On white

5.97
#6047E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6047E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6047E4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6047E4#FFFFFF#000000##FFFFFF
##6047E41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#0B7190
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6047e4;
/* rgb */ color: rgb(96, 71, 228);
/* oklch */ color: oklch(52.4% 0.225 282.6);
Tailwind
colors: {
  custom: {
    50: '#9a7cee',
    500: '#6047e4',
    950: '#000000',
  },
}
SCSS
$custom: #6047e4;
$custom-light: #9a7cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6047e4",
  "rgb": {
    "r": 96,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 249.554,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.22474,
    "h": 282.6
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#6047E4
secondary
#D9E2A4
accent
#F137D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6047E4

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

Preview Lab → · Contrast checker → · Palette generator →

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