#6056E6#6056E6

#6056E6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.210 H 280.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6056E6
RGBrgb(96, 86, 230)
HSLhsl(244, 74%, 62%)
HSVhsv(244, 63%, 90%)
CMYKcmyk(58.3%, 62.6%, 0%, 9.8%)
CIE-LABlab(45.43, 44.18, -71.90)
CIE-LCHlch(45.43, 84.39, 301.57°)
OKLaboklab(54.8% 0.0365 -0.2068)
OKLCHoklch(54.8% 0.21 280)
XYZxyz(22.4301, 14.8540, 76.5327)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056E6 #DCE656
analogous
#5694E6 #6056E6 #A856E6
triadic
#6056E6 #E66056 #56E660
tetradic
#6056E6 #E65694 #DCE656 #56E6A8
square
#6056E6 #E65694 #DCE656 #56E6A8
split-complementary
#6056E6 #E6A856 #94E656
monochromatic
#2319A9 #2E21DE #6056E6 #928BEE #C4C1F6

Accessibility & contrast

On white

5.29
#6056E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6056E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056E6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056E6#FFFFFF#000000##FFFFFF
##6056E61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6056e6;
/* rgb */ color: rgb(96, 86, 230);
/* oklch */ color: oklch(54.8% 0.210 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a86ef',
    500: '#6056e6',
    950: '#000000',
  },
}
SCSS
$custom: #6056e6;
$custom-light: #9a86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6056e6",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 244.167,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.21003,
    "h": 280
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#6056E6
secondary
#E3E6B1
accent
#D60FC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6056E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva