#6056CC#6056CC

#6056CC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.176 H 282.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6056CC
RGBrgb(96, 86, 204)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(52.9%, 57.8%, 0%, 20%)
CIE-LABlab(43.51, 36.09, -60.19)
CIE-LCHlch(43.51, 70.18, 300.95°)
OKLaboklab(52.78% 0.0377 -0.1724)
OKLCHoklch(52.78% 0.176 282.3)
XYZxyz(19.0474, 13.5009, 58.7173)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056CC #C2CC56
analogous
#5687CC #6056CC #9B56CC
triadic
#6056CC #CC6056 #56CC60
tetradic
#6056CC #CC5687 #C2CC56 #56CC9B
square
#6056CC #CC5687 #C2CC56 #56CC9B
split-complementary
#6056CC #CC9B56 #87CC56
monochromatic
#2E2781 #3F35B0 #6056CC #8C85DA #B8B4E8

Accessibility & contrast

On white

5.68
#6056CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6056CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056CC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056CC#FFFFFF#000000##FFFFFF
##6056CC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#327189
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6056cc;
/* rgb */ color: rgb(96, 86, 204);
/* oklch */ color: oklch(52.8% 0.176 282.3);
Tailwind
colors: {
  custom: {
    50: '#9686dc',
    500: '#6056cc',
    950: '#000000',
  },
}
SCSS
$custom: #6056cc;
$custom-light: #9686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6056cc",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 245.085,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.17646,
    "h": 282.3
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#6056CC
secondary
#D3D7A7
accent
#DD4BD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6056CC

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

Preview Lab → · Contrast checker → · Palette generator →

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