#6051EB#6051EB

#6051EB is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.222 H 280.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6051EB
RGBrgb(96, 81, 235)
HSLhsl(246, 79%, 62%)
HSVhsv(246, 66%, 92%)
CMYKcmyk(59.1%, 65.5%, 0%, 7.8%)
CIE-LABlab(44.76, 48.60, -75.83)
CIE-LCHlch(44.76, 90.07, 302.65°)
OKLaboklab(54.43% 0.0402 -0.2184)
OKLCHoklch(54.43% 0.222 280.4)
XYZxyz(22.7570, 14.3682, 80.1553)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051EB #DCEB51
analogous
#518FEB #6051EB #AD51EB
triadic
#6051EB #EB6051 #51EB60
tetradic
#6051EB #EB518F #DCEB51 #51EBAD
square
#6051EB #EB518F #DCEB51 #51EBAD
split-complementary
#6051EB #EBAD51 #8FEB51
monochromatic
#2314AE #2E1AE5 #6051EB #9288F1 #C4BFF8

Accessibility & contrast

On white

5.42
#6051EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6051EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051EB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051EB#FFFFFF#000000##FFFFFF
##6051EB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6051eb;
/* rgb */ color: rgb(96, 81, 235);
/* oklch */ color: oklch(54.4% 0.222 280.4);
Tailwind
colors: {
  custom: {
    50: '#9b83f3',
    500: '#6051eb',
    950: '#000000',
  },
}
SCSS
$custom: #6051eb;
$custom-light: #9b83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6051eb",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 245.844,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.22205,
    "h": 280.4
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#6051EB
secondary
#E3E8B0
accent
#DC0AC7
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6051EB

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

Preview Lab → · Contrast checker → · Palette generator →

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