#6056FB#6056FB

#6056FB is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.5% C 0.236 H 278.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6056FB
RGBrgb(96, 86, 251)
HSLhsl(244, 95%, 66%)
HSVhsv(244, 66%, 98%)
CMYKcmyk(61.8%, 65.7%, 0%, 1.6%)
CIE-LABlab(47.11, 50.69, -80.95)
CIE-LCHlch(47.11, 95.51, 302.05°)
OKLaboklab(56.54% 0.0345 -0.2334)
OKLCHoklch(56.54% 0.236 278.4)
XYZxyz(25.5587, 16.1054, 93.0099)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056FB #F1FB56
analogous
#569EFB #6056FB #B256FB
triadic
#6056FB #FB6056 #56FB60
tetradic
#6056FB #FB569E #F1FB56 #56FBB2
square
#6056FB #FB569E #F1FB56 #56FBB2
split-complementary
#6056FB #FBB256 #9EFB56
monochromatic
#1105D2 #281AFA #6056FB #9892FC #D0CEFE

Accessibility & contrast

On white

4.97
#6056FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6056FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056FB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056FB#FFFFFF#000000##FFFFFF
##6056FB1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0069F8
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6056fb;
/* rgb */ color: rgb(96, 86, 251);
/* oklch */ color: oklch(56.5% 0.236 278.4);
Tailwind
colors: {
  custom: {
    50: '#9d87fe',
    500: '#6056fb',
    950: '#000000',
  },
}
SCSS
$custom: #6056fb;
$custom-light: #9d87fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6056fb",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 243.636,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.23591,
    "h": 278.4
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#6056FB
secondary
#EEF2BB
accent
#E600D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6056FB

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

Preview Lab → · Contrast checker → · Palette generator →

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