#6046E7#6046E7

#6046E7 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.5% C 0.229 H 282.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6046E7
RGBrgb(96, 70, 231)
HSLhsl(250, 77%, 59%)
HSVhsv(250, 70%, 91%)
CMYKcmyk(58.4%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.21, 53.44, -77.75)
CIE-LCHlch(42.21, 94.34, 304.50°)
OKLaboklab(52.5% 0.0494 -0.224)
OKLCHoklch(52.5% 0.229 282.4)
XYZxyz(21.4334, 12.6352, 76.8952)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046E7 #CDE746
analogous
#467DE7 #6046E7 #B046E7
triadic
#6046E7 #E76046 #46E760
tetradic
#6046E7 #E7467D #CDE746 #46E7B0
square
#6046E7 #E7467D #CDE746 #46E7B0
split-complementary
#6046E7 #E7B046 #7DE746
monochromatic
#2B159E #391CD4 #6046E7 #8F7CEE #BDB2F5

Accessibility & contrast

On white

5.95
#6046E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6046E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046E7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046E7#FFFFFF#000000##FFFFFF
##6046E71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6046e7;
/* rgb */ color: rgb(96, 70, 231);
/* oklch */ color: oklch(52.5% 0.229 282.4);
Tailwind
colors: {
  custom: {
    50: '#9b7cf0',
    500: '#6046e7',
    950: '#000000',
  },
}
SCSS
$custom: #6046e7;
$custom-light: #9b7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6046e7",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 249.689,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.22936,
    "h": 282.4
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#6046E7
secondary
#DAE4A5
accent
#F434D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6046E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6046E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva