#6051EA#6051EA

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

Color values

HEX#6051EA
RGBrgb(96, 81, 234)
HSLhsl(246, 78%, 62%)
HSVhsv(246, 65%, 92%)
CMYKcmyk(59%, 65.4%, 0%, 8.2%)
CIE-LABlab(44.68, 48.29, -75.40)
CIE-LCHlch(44.68, 89.54, 302.64°)
OKLaboklab(54.35% 0.0403 -0.2171)
OKLCHoklch(54.35% 0.221 280.5)
XYZxyz(22.6129, 14.3106, 79.3966)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051EA #DBEA51
analogous
#518FEA #6051EA #AC51EA
triadic
#6051EA #EA6051 #51EA60
tetradic
#6051EA #EA518F #DBEA51 #51EAAC
square
#6051EA #EA518F #DBEA51 #51EAAC
split-complementary
#6051EA #EAAC51 #8FEA51
monochromatic
#2415AC #2F1BE2 #6051EA #9288F1 #C4BEF7

Accessibility & contrast

On white

5.44
#6051EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6051EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051EA#FFFFFF#000000##FFFFFF
##6051EA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6051ea;
/* rgb */ color: rgb(96, 81, 234);
/* oklch */ color: oklch(54.3% 0.221 280.5);
Tailwind
colors: {
  custom: {
    50: '#9b83f2',
    500: '#6051ea',
    950: '#000000',
  },
}
SCSS
$custom: #6051ea;
$custom-light: #9b83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6051ea",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 245.882,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.22083,
    "h": 280.5
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#6051EA
secondary
#E2E8AF
accent
#DB0BC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6051EA

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

Preview Lab → · Contrast checker → · Palette generator →

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