#6056EB#6056EB

#6056EB is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.216 H 279.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6056EB
RGBrgb(96, 86, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(59.1%, 63.4%, 0%, 7.8%)
CIE-LABlab(45.82, 45.74, -74.09)
CIE-LCHlch(45.82, 87.07, 301.69°)
OKLaboklab(55.2% 0.0361 -0.2132)
OKLCHoklch(55.2% 0.216 279.6)
XYZxyz(23.1423, 15.1389, 80.2837)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056EB #E1EB56
analogous
#5696EB #6056EB #AA56EB
triadic
#6056EB #EB6056 #56EB60
tetradic
#6056EB #EB5696 #E1EB56 #56EBAA
square
#6056EB #EB5696 #E1EB56 #56EBAA
split-complementary
#6056EB #EBAA56 #96EB56
monochromatic
#2015B2 #2D1FE5 #6056EB #938DF1 #C7C3F8

Accessibility & contrast

On white

5.21
#6056EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6056EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056EB#FFFFFF#000000##FFFFFF
##6056EB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6056eb;
/* rgb */ color: rgb(96, 86, 235);
/* oklch */ color: oklch(55.2% 0.216 279.6);
Tailwind
colors: {
  custom: {
    50: '#9a86f2',
    500: '#6056eb',
    950: '#000000',
  },
}
SCSS
$custom: #6056eb;
$custom-light: #9a86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6056eb",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 244.027,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.21628,
    "h": 279.6
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#6056EB
secondary
#E6E9B4
accent
#DB0ACD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056EB

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

Preview Lab → · Contrast checker → · Palette generator →

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