#6056EC#6056EC

#6056EC is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.218 H 279.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6056EC
RGBrgb(96, 86, 236)
HSLhsl(244, 80%, 63%)
HSVhsv(244, 64%, 93%)
CMYKcmyk(59.3%, 63.6%, 0%, 7.5%)
CIE-LABlab(45.90, 46.05, -74.53)
CIE-LCHlch(45.90, 87.60, 301.71°)
OKLaboklab(55.29% 0.036 -0.2145)
OKLCHoklch(55.29% 0.218 279.5)
XYZxyz(23.2872, 15.1968, 81.0468)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056EC #E2EC56
analogous
#5697EC #6056EC #AB56EC
triadic
#6056EC #EC6056 #56EC60
tetradic
#6056EC #EC5697 #E2EC56 #56ECAB
square
#6056EC #EC5697 #E2EC56 #56ECAB
split-complementary
#6056EC #ECAB56 #97EC56
monochromatic
#1F14B3 #2C1FE6 #6056EC #948DF2 #C8C4F8

Accessibility & contrast

On white

5.20
#6056EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6056EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056EC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056EC#FFFFFF#000000##FFFFFF
##6056EC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6056ec;
/* rgb */ color: rgb(96, 86, 236);
/* oklch */ color: oklch(55.3% 0.218 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b86f3',
    500: '#6056ec',
    950: '#000000',
  },
}
SCSS
$custom: #6056ec;
$custom-light: #9b86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6056ec",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 244,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.21753,
    "h": 279.5
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#6056EC
secondary
#E6EAB4
accent
#DC09CE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056EC

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

Preview Lab → · Contrast checker → · Palette generator →

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