#6056EA#6056EA

#6056EA is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.215 H 279.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6056EA
RGBrgb(96, 86, 234)
HSLhsl(244, 78%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(59%, 63.2%, 0%, 8.2%)
CIE-LABlab(45.75, 45.43, -73.66)
CIE-LCHlch(45.75, 86.54, 301.66°)
OKLaboklab(55.12% 0.0362 -0.212)
OKLCHoklch(55.12% 0.215 279.7)
XYZxyz(22.9982, 15.0812, 79.5250)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056EA #E0EA56
analogous
#5696EA #6056EA #AA56EA
triadic
#6056EA #EA6056 #56EA60
tetradic
#6056EA #EA5696 #E0EA56 #56EAAA
square
#6056EA #EA5696 #E0EA56 #56EAAA
split-complementary
#6056EA #EAAA56 #96EA56
monochromatic
#2016B0 #2D20E3 #6056EA #938CF1 #C6C3F8

Accessibility & contrast

On white

5.23
#6056EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6056EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056EA#FFFFFF#000000##FFFFFF
##6056EA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6056ea;
/* rgb */ color: rgb(96, 86, 234);
/* oklch */ color: oklch(55.1% 0.215 279.7);
Tailwind
colors: {
  custom: {
    50: '#9a86f2',
    500: '#6056ea',
    950: '#000000',
  },
}
SCSS
$custom: #6056ea;
$custom-light: #9a86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6056ea",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 244.054,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.21504,
    "h": 279.7
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#6056EA
secondary
#E5E9B3
accent
#DA0BCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056EA

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

Preview Lab → · Contrast checker → · Palette generator →

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