#6056E2#6056E2

#6056E2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.205 H 280.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6056E2
RGBrgb(96, 86, 226)
HSLhsl(244, 71%, 61%)
HSVhsv(244, 62%, 89%)
CMYKcmyk(57.5%, 61.9%, 0%, 11.4%)
CIE-LABlab(45.13, 42.94, -70.14)
CIE-LCHlch(45.13, 82.24, 301.47°)
OKLaboklab(54.48% 0.0368 -0.2016)
OKLCHoklch(54.48% 0.205 280.3)
XYZxyz(21.8748, 14.6319, 73.6083)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056E2 #D8E256
analogous
#5692E2 #6056E2 #A656E2
triadic
#6056E2 #E26056 #56E260
tetradic
#6056E2 #E25692 #D8E256 #56E2A6
square
#6056E2 #E25692 #D8E256 #56E2A6
split-complementary
#6056E2 #E2A656 #92E256
monochromatic
#251CA2 #3125D6 #6056E2 #918AEB #C2BEF4

Accessibility & contrast

On white

5.35
#6056E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6056E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056E2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056E2#FFFFFF#000000##FFFFFF
##6056E21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#0C7994
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6056e2;
/* rgb */ color: rgb(96, 86, 226);
/* oklch */ color: oklch(54.5% 0.205 280.3);
Tailwind
colors: {
  custom: {
    50: '#9986ec',
    500: '#6056e2',
    950: '#000000',
  },
}
SCSS
$custom: #6056e2;
$custom-light: #9986ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6056e2",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 244.286,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.20498,
    "h": 280.3
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#6056E2
secondary
#E0E4B0
accent
#D313C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6056E2

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

Preview Lab → · Contrast checker → · Palette generator →

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