#6056CB#6056CB

#6056CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.175 H 282.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6056CB
RGBrgb(96, 86, 203)
HSLhsl(245, 53%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(52.7%, 57.6%, 0%, 20.4%)
CIE-LABlab(43.44, 35.78, -59.73)
CIE-LCHlch(43.44, 69.63, 300.93°)
OKLaboklab(52.71% 0.0377 -0.171)
OKLCHoklch(52.71% 0.175 282.4)
XYZxyz(18.9279, 13.4531, 58.0877)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056CB #C1CB56
analogous
#5687CB #6056CB #9B56CB
triadic
#6056CB #CB6056 #56CB60
tetradic
#6056CB #CB5687 #C1CB56 #56CB9B
square
#6056CB #CB5687 #C1CB56 #56CB9B
split-complementary
#6056CB #CB9B56 #87CB56
monochromatic
#2F277F #4036AE #6056CB #8C85D9 #B8B4E8

Accessibility & contrast

On white

5.69
#6056CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6056CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056CB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056CB#FFFFFF#000000##FFFFFF
##6056CB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#337188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6056cb;
/* rgb */ color: rgb(96, 86, 203);
/* oklch */ color: oklch(52.7% 0.175 282.4);
Tailwind
colors: {
  custom: {
    50: '#9586dc',
    500: '#6056cb',
    950: '#000000',
  },
}
SCSS
$custom: #6056cb;
$custom-light: #9586dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6056cb",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 245.128,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.17513,
    "h": 282.4
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6056CB

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

Preview Lab → · Contrast checker → · Palette generator →

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