#6056E8#6056E8

#6056E8 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.213 H 279.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6056E8
RGBrgb(96, 86, 232)
HSLhsl(244, 76%, 62%)
HSVhsv(244, 63%, 91%)
CMYKcmyk(58.6%, 62.9%, 0%, 9%)
CIE-LABlab(45.59, 44.80, -72.78)
CIE-LCHlch(45.59, 85.47, 301.62°)
OKLaboklab(54.96% 0.0364 -0.2094)
OKLCHoklch(54.96% 0.213 279.8)
XYZxyz(22.7125, 14.9670, 78.0203)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056E8 #DEE856
analogous
#5695E8 #6056E8 #A956E8
triadic
#6056E8 #E86056 #56E860
tetradic
#6056E8 #E85695 #DEE856 #56E8A9
square
#6056E8 #E85695 #DEE856 #56E8A9
split-complementary
#6056E8 #E8A956 #95E856
monochromatic
#2217AC #2D20E1 #6056E8 #938CEF #C5C2F7

Accessibility & contrast

On white

5.26
#6056E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6056E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056E8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056E8#FFFFFF#000000##FFFFFF
##6056E81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6056e8;
/* rgb */ color: rgb(96, 86, 232);
/* oklch */ color: oklch(55.0% 0.213 279.8);
Tailwind
colors: {
  custom: {
    50: '#9a86f0',
    500: '#6056e8',
    950: '#000000',
  },
}
SCSS
$custom: #6056e8;
$custom-light: #9a86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6056e8",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 244.11,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.21254,
    "h": 279.8
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#6056E8
secondary
#E4E8B2
accent
#D80DCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6056E8

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

Preview Lab → · Contrast checker → · Palette generator →

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