#6056F1#6056F1

#6056F1 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.224 H 279.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6056F1
RGBrgb(96, 86, 241)
HSLhsl(244, 85%, 64%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(60.2%, 64.3%, 0%, 5.5%)
CIE-LABlab(46.30, 47.60, -76.69)
CIE-LCHlch(46.30, 90.26, 301.83°)
OKLaboklab(55.7% 0.0355 -0.2209)
OKLCHoklch(55.7% 0.224 279.1)
XYZxyz(24.0238, 15.4915, 84.9262)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056F1 #E7F156
analogous
#569AF1 #6056F1 #AE56F1
triadic
#6056F1 #F16056 #56F160
tetradic
#6056F1 #F1569A #E7F156 #56F1AE
square
#6056F1 #F1569A #E7F156 #56F1AE
split-complementary
#6056F1 #F1AE56 #9AF156
monochromatic
#1B10BD #2B1DEC #6056F1 #958FF6 #CAC7FA

Accessibility & contrast

On white

5.12
#6056F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6056F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056F1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056F1#FFFFFF#000000##FFFFFF
##6056F11.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6056f1;
/* rgb */ color: rgb(96, 86, 241);
/* oklch */ color: oklch(55.7% 0.224 279.1);
Tailwind
colors: {
  custom: {
    50: '#9b86f7',
    500: '#6056f1',
    950: '#000000',
  },
}
SCSS
$custom: #6056f1;
$custom-light: #9b86f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6056f1",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 243.871,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.22371,
    "h": 279.1
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#6056F1
secondary
#E9ECB6
accent
#E104D3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056F1

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

Preview Lab → · Contrast checker → · Palette generator →

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