#6056BC#6056BC

#6056BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.155 H 284.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6056BC
RGBrgb(96, 86, 188)
HSLhsl(246, 43%, 54%)
HSVhsv(246, 54%, 74%)
CMYKcmyk(48.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(42.42, 31.15, -52.67)
CIE-LCHlch(42.42, 61.20, 300.60°)
OKLaboklab(51.62% 0.0375 -0.1503)
OKLCHoklch(51.62% 0.155 284)
XYZxyz(17.2261, 12.7724, 49.1248)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056BC #B2BC56
analogous
#567FBC #6056BC #9356BC
triadic
#6056BC #BC6056 #56BC60
tetradic
#6056BC #BC567F #B2BC56 #56BC93
square
#6056BC #BC567F #B2BC56 #56BC93
split-complementary
#6056BC #BC9356 #7FBC56
monochromatic
#312B6D #453C98 #6056BC #8982CD #B2AEDF

Accessibility & contrast

On white

5.91
#6056BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6056BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056BC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056BC#FFFFFF#000000##FFFFFF
##6056BC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#3F6D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6056bc;
/* rgb */ color: rgb(96, 86, 188);
/* oklch */ color: oklch(51.6% 0.155 284.0);
Tailwind
colors: {
  custom: {
    50: '#9386d1',
    500: '#6056bc',
    950: '#000000',
  },
}
SCSS
$custom: #6056bc;
$custom-light: #9386d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6056bc",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 245.882,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.15488,
    "h": 284
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#6056BC
secondary
#C8CDA1
accent
#D355C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6056BC

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

Preview Lab → · Contrast checker → · Palette generator →

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