#6056E7#6056E7

#6056E7 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.211 H 279.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6056E7
RGBrgb(96, 86, 231)
HSLhsl(244, 75%, 62%)
HSVhsv(244, 63%, 91%)
CMYKcmyk(58.4%, 62.8%, 0%, 9.4%)
CIE-LABlab(45.51, 44.49, -72.34)
CIE-LCHlch(45.51, 84.93, 301.59°)
OKLaboklab(54.88% 0.0364 -0.2081)
OKLCHoklch(54.88% 0.211 279.9)
XYZxyz(22.5709, 14.9103, 77.2744)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056E7 #DDE756
analogous
#5695E7 #6056E7 #A956E7
triadic
#6056E7 #E76056 #56E760
tetradic
#6056E7 #E75695 #DDE756 #56E7A9
square
#6056E7 #E75695 #DDE756 #56E7A9
split-complementary
#6056E7 #E7A956 #95E756
monochromatic
#2218AA #2E20DF #6056E7 #928CEF #C5C1F6

Accessibility & contrast

On white

5.27
#6056E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6056E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056E7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056E7#FFFFFF#000000##FFFFFF
##6056E71.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6056e7;
/* rgb */ color: rgb(96, 86, 231);
/* oklch */ color: oklch(54.9% 0.211 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a86f0',
    500: '#6056e7',
    950: '#000000',
  },
}
SCSS
$custom: #6056e7;
$custom-light: #9a86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6056e7",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 244.138,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.21128,
    "h": 279.9
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#6056E7
secondary
#E3E7B2
accent
#D70EC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056E7

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

Preview Lab → · Contrast checker → · Palette generator →

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