#6056E4#6056E4

#6056E4 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.208 H 280.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6056E4
RGBrgb(96, 86, 228)
HSLhsl(244, 72%, 62%)
HSVhsv(244, 62%, 89%)
CMYKcmyk(57.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(45.28, 43.56, -71.02)
CIE-LCHlch(45.28, 83.32, 301.52°)
OKLaboklab(54.64% 0.0367 -0.2042)
OKLCHoklch(54.64% 0.208 280.2)
XYZxyz(22.1508, 14.7423, 75.0620)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056E4 #DAE456
analogous
#5693E4 #6056E4 #A756E4
triadic
#6056E4 #E46056 #56E460
tetradic
#6056E4 #E45693 #DAE456 #56E4A7
square
#6056E4 #E45693 #DAE456 #56E4A7
split-complementary
#6056E4 #E4A756 #93E456
monochromatic
#241AA5 #3023DA #6056E4 #928BEC #C3C0F5

Accessibility & contrast

On white

5.32
#6056E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6056E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056E4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056E4#FFFFFF#000000##FFFFFF
##6056E41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#037995
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6056e4;
/* rgb */ color: rgb(96, 86, 228);
/* oklch */ color: oklch(54.6% 0.208 280.2);
Tailwind
colors: {
  custom: {
    50: '#9986ee',
    500: '#6056e4',
    950: '#000000',
  },
}
SCSS
$custom: #6056e4;
$custom-light: #9986ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6056e4",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 244.225,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54637,
    "c": 0.20751,
    "h": 280.2
  },
  "luminance": 0.14744
}

Semantic roles & 50–950 ramp

primary
#6056E4
secondary
#E2E5B0
accent
#D511C7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6056E4

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

Preview Lab → · Contrast checker → · Palette generator →

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