#6056BF#6056BF

#6056BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.159 H 283.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6056BF
RGBrgb(96, 86, 191)
HSLhsl(246, 45%, 54%)
HSVhsv(246, 55%, 75%)
CMYKcmyk(49.7%, 55%, 0%, 25.1%)
CIE-LABlab(42.62, 32.08, -54.10)
CIE-LCHlch(42.62, 62.90, 300.66°)
OKLaboklab(51.84% 0.0376 -0.1545)
OKLCHoklch(51.84% 0.159 283.7)
XYZxyz(17.5528, 12.9031, 50.8458)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056BF #B5BF56
analogous
#5681BF #6056BF #9556BF
triadic
#6056BF #BF6056 #56BF60
tetradic
#6056BF #BF5681 #B5BF56 #56BF95
square
#6056BF #BF5681 #B5BF56 #56BF95
split-complementary
#6056BF #BF9556 #81BF56
monochromatic
#312A70 #453B9D #6056BF #8A82D0 #B4AFE1

Accessibility & contrast

On white

5.86
#6056BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6056BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056BF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056BF#FFFFFF#000000##FFFFFF
##6056BF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#3D6D82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6056bf;
/* rgb */ color: rgb(96, 86, 191);
/* oklch */ color: oklch(51.8% 0.159 283.7);
Tailwind
colors: {
  custom: {
    50: '#9486d3',
    500: '#6056bf',
    950: '#000000',
  },
}
SCSS
$custom: #6056bf;
$custom-light: #9486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6056bf",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 245.714,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.15899,
    "h": 283.7
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#6056BF
secondary
#CACFA2
accent
#D553C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6056BF

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

Preview Lab → · Contrast checker → · Palette generator →

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