#6051E2#6051E2

#6051E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.211 H 281.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6051E2
RGBrgb(96, 81, 226)
HSLhsl(246, 71%, 60%)
HSVhsv(246, 64%, 89%)
CMYKcmyk(57.5%, 64.2%, 0%, 11.4%)
CIE-LABlab(44.03, 45.84, -71.92)
CIE-LCHlch(44.03, 85.29, 302.51°)
OKLaboklab(53.68% 0.0412 -0.2069)
OKLCHoklch(53.68% 0.211 281.3)
XYZxyz(21.4895, 13.8612, 73.4798)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051E2 #D3E251
analogous
#518AE2 #6051E2 #A951E2
triadic
#6051E2 #E26051 #51E260
tetradic
#6051E2 #E2518A #D3E251 #51E2A9
square
#6051E2 #E2518A #D3E251 #51E2A9
split-complementary
#6051E2 #E2A951 #8AE251
monochromatic
#281A9E #3523D3 #6051E2 #9085EB #C0BAF3

Accessibility & contrast

On white

5.57
#6051E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6051E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051E2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051E2#FFFFFF#000000##FFFFFF
##6051E21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#0E7692
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6051e2;
/* rgb */ color: rgb(96, 81, 226);
/* oklch */ color: oklch(53.7% 0.211 281.3);
Tailwind
colors: {
  custom: {
    50: '#9983ec',
    500: '#6051e2',
    950: '#000000',
  },
}
SCSS
$custom: #6051e2;
$custom-light: #9983ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6051e2",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 246.207,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.21096,
    "h": 281.3
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#6051E2
secondary
#DDE3AC
accent
#D312BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6051E2

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

Preview Lab → · Contrast checker → · Palette generator →

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