#6056CA#6056CA

#6056CA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.174 H 282.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6056CA
RGBrgb(96, 86, 202)
HSLhsl(245, 52%, 56%)
HSVhsv(245, 57%, 79%)
CMYKcmyk(52.5%, 57.4%, 0%, 20.8%)
CIE-LABlab(43.37, 35.47, -59.26)
CIE-LCHlch(43.37, 69.07, 300.90°)
OKLaboklab(52.63% 0.0377 -0.1697)
OKLCHoklch(52.63% 0.174 282.5)
XYZxyz(18.8091, 13.4056, 57.4621)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056CA #C0CA56
analogous
#5686CA #6056CA #9A56CA
triadic
#6056CA #CA6056 #56CA60
tetradic
#6056CA #CA5686 #C0CA56 #56CA9A
square
#6056CA #CA5686 #C0CA56 #56CA9A
split-complementary
#6056CA #CA9A56 #86CA56
monochromatic
#2F287E #4036AD #6056CA #8C85D9 #B8B3E7

Accessibility & contrast

On white

5.70
#6056CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6056CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056CA#FFFFFF#000000##FFFFFF
##6056CA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#347188
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6056ca;
/* rgb */ color: rgb(96, 86, 202);
/* oklch */ color: oklch(52.6% 0.174 282.5);
Tailwind
colors: {
  custom: {
    50: '#9586db',
    500: '#6056ca',
    950: '#000000',
  },
}
SCSS
$custom: #6056ca;
$custom-light: #9586db;
$custom-dark: #000000;
JSON
{
  "hex": "#6056ca",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 245.172,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.17381,
    "h": 282.5
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#6056CA
secondary
#D2D6A6
accent
#DC4CCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6056CA

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

Preview Lab → · Contrast checker → · Palette generator →

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