#6051E9#6051E9

#6051E9 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.220 H 280.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6051E9
RGBrgb(96, 81, 233)
HSLhsl(246, 78%, 62%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.8%, 65.2%, 0%, 8.6%)
CIE-LABlab(44.59, 47.98, -74.97)
CIE-LCHlch(44.59, 89.01, 302.62°)
OKLaboklab(54.26% 0.0405 -0.2158)
OKLCHoklch(54.26% 0.22 280.6)
XYZxyz(22.4697, 14.2533, 78.6421)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051E9 #DAE951
analogous
#518EE9 #6051E9 #AC51E9
triadic
#6051E9 #E96051 #51E960
tetradic
#6051E9 #E9518E #DAE951 #51E9AC
square
#6051E9 #E9518E #DAE951 #51E9AC
split-complementary
#6051E9 #E9AC51 #8EE951
monochromatic
#2416AA #301CE0 #6051E9 #9287F0 #C3BEF7

Accessibility & contrast

On white

5.45
#6051E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6051E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051E9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051E9#FFFFFF#000000##FFFFFF
##6051E91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6051e9;
/* rgb */ color: rgb(96, 81, 233);
/* oklch */ color: oklch(54.3% 0.220 280.6);
Tailwind
colors: {
  custom: {
    50: '#9a83f1',
    500: '#6051e9',
    950: '#000000',
  },
}
SCSS
$custom: #6051e9;
$custom-light: #9a83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6051e9",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 245.921,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.21961,
    "h": 280.6
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#6051E9
secondary
#E2E7AF
accent
#DA0CC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6051E9

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

Preview Lab → · Contrast checker → · Palette generator →

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