#6056F2#6056F2

#6056F2 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.225 H 279.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6056F2
RGBrgb(96, 86, 242)
HSLhsl(244, 86%, 64%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(60.3%, 64.5%, 0%, 5.1%)
CIE-LABlab(46.38, 47.91, -77.12)
CIE-LCHlch(46.38, 90.79, 301.85°)
OKLaboklab(55.78% 0.0354 -0.2221)
OKLCHoklch(55.78% 0.225 279.1)
XYZxyz(24.1736, 15.5514, 85.7150)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056F2 #E8F256
analogous
#569AF2 #6056F2 #AE56F2
triadic
#6056F2 #F26056 #56F260
tetradic
#6056F2 #F2569A #E8F256 #56F2AE
square
#6056F2 #F2569A #E8F256 #56F2AE
split-complementary
#6056F2 #F2AE56 #9AF256
monochromatic
#1A0FBF #2B1DEE #6056F2 #958FF6 #CBC8FB

Accessibility & contrast

On white

5.11
#6056F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6056F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056F2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056F2#FFFFFF#000000##FFFFFF
##6056F21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6056f2;
/* rgb */ color: rgb(96, 86, 242);
/* oklch */ color: oklch(55.8% 0.225 279.1);
Tailwind
colors: {
  custom: {
    50: '#9b87f7',
    500: '#6056f2',
    950: '#000000',
  },
}
SCSS
$custom: #6056f2;
$custom-light: #9b87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6056f2",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 243.846,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.22494,
    "h": 279.1
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#6056F2
secondary
#E9EDB7
accent
#E203D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6056F2

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

Preview Lab → · Contrast checker → · Palette generator →

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