#6051EE#6051EE

#6051EE is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.7% C 0.226 H 280.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6051EE
RGBrgb(96, 81, 238)
HSLhsl(246, 82%, 63%)
HSVhsv(246, 66%, 93%)
CMYKcmyk(59.7%, 66%, 0%, 6.7%)
CIE-LABlab(45.00, 49.51, -77.12)
CIE-LCHlch(45.00, 91.65, 302.70°)
OKLaboklab(54.68% 0.0399 -0.2222)
OKLCHoklch(54.68% 0.226 280.2)
XYZxyz(23.1940, 14.5430, 82.4572)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051EE #DFEE51
analogous
#5191EE #6051EE #AE51EE
triadic
#6051EE #EE6051 #51EE60
tetradic
#6051EE #EE5191 #DFEE51 #51EEAE
square
#6051EE #EE5191 #DFEE51 #51EEAE
split-complementary
#6051EE #EEAE51 #91EE51
monochromatic
#2111B3 #2D19E9 #6051EE #9389F3 #C6C1F9

Accessibility & contrast

On white

5.37
#6051EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6051EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051EE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051EE#FFFFFF#000000##FFFFFF
##6051EE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0064EB
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6051ee;
/* rgb */ color: rgb(96, 81, 238);
/* oklch */ color: oklch(54.7% 0.226 280.2);
Tailwind
colors: {
  custom: {
    50: '#9b83f5',
    500: '#6051ee',
    950: '#000000',
  },
}
SCSS
$custom: #6051ee;
$custom-light: #9b83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6051ee",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 245.732,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54682,
    "c": 0.22571,
    "h": 280.2
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#6051EE
secondary
#E4EAB1
accent
#DF07CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6051EE

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

Preview Lab → · Contrast checker → · Palette generator →

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