#6056EF#6056EF

#6056EF is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.221 H 279.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6056EF
RGBrgb(96, 86, 239)
HSLhsl(244, 83%, 64%)
HSVhsv(244, 64%, 94%)
CMYKcmyk(59.8%, 64%, 0%, 6.3%)
CIE-LABlab(46.14, 46.98, -75.83)
CIE-LCHlch(46.14, 89.20, 301.78°)
OKLaboklab(55.53% 0.0357 -0.2183)
OKLCHoklch(55.53% 0.221 279.3)
XYZxyz(23.7267, 15.3726, 83.3615)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056EF #E5EF56
analogous
#5698EF #6056EF #AD56EF
triadic
#6056EF #EF6056 #56EF60
tetradic
#6056EF #EF5698 #E5EF56 #56EFAD
square
#6056EF #EF5698 #E5EF56 #56EFAD
split-complementary
#6056EF #EFAD56 #98EF56
monochromatic
#1C12B9 #2B1EEA #6056EF #958EF4 #C9C6FA

Accessibility & contrast

On white

5.15
#6056EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6056EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056EF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056EF#FFFFFF#000000##FFFFFF
##6056EF1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6056ef;
/* rgb */ color: rgb(96, 86, 239);
/* oklch */ color: oklch(55.5% 0.221 279.3);
Tailwind
colors: {
  custom: {
    50: '#9b86f5',
    500: '#6056ef',
    950: '#000000',
  },
}
SCSS
$custom: #6056ef;
$custom-light: #9b86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6056ef",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 243.922,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.22124,
    "h": 279.3
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#6056EF
secondary
#E8EBB5
accent
#DF06D1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056EF

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

Preview Lab → · Contrast checker → · Palette generator →

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