#6056CD#6056CD

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

Color values

HEX#6056CD
RGBrgb(96, 86, 205)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(53.2%, 58%, 0%, 19.6%)
CIE-LABlab(43.58, 36.40, -60.65)
CIE-LCHlch(43.58, 70.74, 300.97°)
OKLaboklab(52.85% 0.0377 -0.1737)
OKLCHoklch(52.85% 0.178 282.2)
XYZxyz(19.1677, 13.5490, 59.3510)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056CD #C3CD56
analogous
#5688CD #6056CD #9C56CD
triadic
#6056CD #CD6056 #56CD60
tetradic
#6056CD #CD5688 #C3CD56 #56CD9C
square
#6056CD #CD5688 #C3CD56 #56CD9C
split-complementary
#6056CD #CD9C56 #88CD56
monochromatic
#2E2682 #3F34B1 #6056CD #8C85DB #B9B4E9

Accessibility & contrast

On white

5.66
#6056CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6056CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056CD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056CD#FFFFFF#000000##FFFFFF
##6056CD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#317289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6056cd;
/* rgb */ color: rgb(96, 86, 205);
/* oklch */ color: oklch(52.9% 0.178 282.2);
Tailwind
colors: {
  custom: {
    50: '#9686dd',
    500: '#6056cd',
    950: '#000000',
  },
}
SCSS
$custom: #6056cd;
$custom-light: #9686dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6056cd",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 245.042,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.17779,
    "h": 282.2
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#6056CD
secondary
#D4D8A7
accent
#DE4AD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6056CD

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

Preview Lab → · Contrast checker → · Palette generator →

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