#6051E4#6051E4

#6051E4 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.213 H 281.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6051E4
RGBrgb(96, 81, 228)
HSLhsl(246, 73%, 61%)
HSVhsv(246, 64%, 89%)
CMYKcmyk(57.9%, 64.5%, 0%, 10.6%)
CIE-LABlab(44.19, 46.45, -72.80)
CIE-LCHlch(44.19, 86.36, 302.54°)
OKLaboklab(53.85% 0.041 -0.2095)
OKLCHoklch(53.85% 0.213 281.1)
XYZxyz(21.7655, 13.9716, 74.9336)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051E4 #D5E451
analogous
#518CE4 #6051E4 #A951E4
triadic
#6051E4 #E46051 #51E460
tetradic
#6051E4 #E4518C #D5E451 #51E4A9
square
#6051E4 #E4518C #D5E451 #51E4A9
split-complementary
#6051E4 #E4A951 #8CE451
monochromatic
#2719A2 #3421D7 #6051E4 #9086EC #C1BBF4

Accessibility & contrast

On white

5.53
#6051E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6051E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051E4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051E4#FFFFFF#000000##FFFFFF
##6051E41.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#067693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6051e4;
/* rgb */ color: rgb(96, 81, 228);
/* oklch */ color: oklch(53.8% 0.213 281.1);
Tailwind
colors: {
  custom: {
    50: '#9a83ee',
    500: '#6051e4',
    950: '#000000',
  },
}
SCSS
$custom: #6051e4;
$custom-light: #9a83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6051e4",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 246.122,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.21344,
    "h": 281.1
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#6051E4
secondary
#DFE4AC
accent
#D510C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6051E4

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

Preview Lab → · Contrast checker → · Palette generator →

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