#6056CE#6056CE

#6056CE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.179 H 282.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6056CE
RGBrgb(96, 86, 206)
HSLhsl(245, 55%, 57%)
HSVhsv(245, 58%, 81%)
CMYKcmyk(53.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(43.65, 36.72, -61.11)
CIE-LCHlch(43.65, 71.29, 301.00°)
OKLaboklab(52.93% 0.0377 -0.1751)
OKLCHoklch(52.93% 0.179 282.1)
XYZxyz(19.2888, 13.5975, 59.9887)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056CE #C4CE56
analogous
#5688CE #6056CE #9C56CE
triadic
#6056CE #CE6056 #56CE60
tetradic
#6056CE #CE5688 #C4CE56 #56CE9C
square
#6056CE #CE5688 #C4CE56 #56CE9C
split-complementary
#6056CE #CE9C56 #88CE56
monochromatic
#2E2683 #3E34B3 #6056CE #8D85DC #B9B5EA

Accessibility & contrast

On white

5.65
#6056CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6056CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056CE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056CE#FFFFFF#000000##FFFFFF
##6056CE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#30728A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6056ce;
/* rgb */ color: rgb(96, 86, 206);
/* oklch */ color: oklch(52.9% 0.179 282.1);
Tailwind
colors: {
  custom: {
    50: '#9686de',
    500: '#6056ce',
    950: '#000000',
  },
}
SCSS
$custom: #6056ce;
$custom-light: #9686de;
$custom-dark: #000000;
JSON
{
  "hex": "#6056ce",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 245,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.17911,
    "h": 282.1
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#6056CE
secondary
#D4D8A8
accent
#DE49D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6056CE

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

Preview Lab → · Contrast checker → · Palette generator →

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