#6056BB#6056BB

#6056BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.153 H 284.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6056BB
RGBrgb(96, 86, 187)
HSLhsl(246, 43%, 54%)
HSVhsv(246, 54%, 73%)
CMYKcmyk(48.7%, 54%, 0%, 26.7%)
CIE-LABlab(42.35, 30.85, -52.20)
CIE-LCHlch(42.35, 60.63, 300.58°)
OKLaboklab(51.55% 0.0374 -0.1489)
OKLCHoklch(51.55% 0.154 284.1)
XYZxyz(17.1186, 12.7294, 48.5591)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056BB #B1BB56
analogous
#567EBB #6056BB #9256BB
triadic
#6056BB #BB6056 #56BB60
tetradic
#6056BB #BB567E #B1BB56 #56BB92
square
#6056BB #BB567E #B1BB56 #56BB92
split-complementary
#6056BB #BB9256 #7EBB56
monochromatic
#322B6B #463D97 #6056BB #8982CD #B2ADDE

Accessibility & contrast

On white

5.92
#6056BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6056BB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056BB#FFFFFF#000000##FFFFFF
##6056BB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#406C80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6056bb;
/* rgb */ color: rgb(96, 86, 187);
/* oklch */ color: oklch(51.6% 0.153 284.1);
Tailwind
colors: {
  custom: {
    50: '#9386d0',
    500: '#6056bb',
    950: '#000000',
  },
}
SCSS
$custom: #6056bb;
$custom-light: #9386d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6056bb",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 245.941,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.1535,
    "h": 284.1
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#6056BB
secondary
#C8CCA1
accent
#D255C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6056BB

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

Preview Lab → · Contrast checker → · Palette generator →

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