#6051E7#6051E7

#6051E7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.217 H 280.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6051E7
RGBrgb(96, 81, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.4%, 64.9%, 0%, 9.4%)
CIE-LABlab(44.43, 47.37, -74.10)
CIE-LCHlch(44.43, 87.95, 302.59°)
OKLaboklab(54.09% 0.0407 -0.2133)
OKLCHoklch(54.09% 0.217 280.8)
XYZxyz(22.1856, 14.1396, 77.1460)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051E7 #D8E751
analogous
#518DE7 #6051E7 #AB51E7
triadic
#6051E7 #E76051 #51E760
tetradic
#6051E7 #E7518D #D8E751 #51E7AB
square
#6051E7 #E7518D #D8E751 #51E7AB
split-complementary
#6051E7 #E7AB51 #8DE751
monochromatic
#2517A7 #311EDC #6051E7 #9187EE #C2BDF6

Accessibility & contrast

On white

5.49
#6051E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6051E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051E7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051E7#FFFFFF#000000##FFFFFF
##6051E71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6051e7;
/* rgb */ color: rgb(96, 81, 231);
/* oklch */ color: oklch(54.1% 0.217 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a83f0',
    500: '#6051e7',
    950: '#000000',
  },
}
SCSS
$custom: #6051e7;
$custom-light: #9a83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6051e7",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 246,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54094,
    "c": 0.21714,
    "h": 280.8
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#6051E7
secondary
#E0E6AE
accent
#D80EC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6051E7

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

Preview Lab → · Contrast checker → · Palette generator →

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