#6057E2#6057E2

#6057E2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.204 H 280.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6057E2
RGBrgb(96, 87, 226)
HSLhsl(244, 71%, 61%)
HSVhsv(244, 62%, 89%)
CMYKcmyk(57.5%, 61.5%, 0%, 11.4%)
CIE-LABlab(45.35, 42.35, -69.78)
CIE-LCHlch(45.35, 81.62, 301.26°)
OKLaboklab(54.64% 0.0359 -0.2006)
OKLCHoklch(54.64% 0.204 280.1)
XYZxyz(21.9552, 14.7927, 73.6351)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057E2 #D9E257
analogous
#5794E2 #6057E2 #A657E2
triadic
#6057E2 #E26057 #57E260
tetradic
#6057E2 #E25794 #D9E257 #57E2A6
square
#6057E2 #E25794 #D9E257 #57E2A6
split-complementary
#6057E2 #E2A657 #94E257
monochromatic
#251CA3 #3125D7 #6057E2 #918BEB #C3BFF4

Accessibility & contrast

On white

5.30
#6057E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6057E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057E2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057E2#FFFFFF#000000##FFFFFF
##6057E21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#0C7994
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6057e2;
/* rgb */ color: rgb(96, 87, 226);
/* oklch */ color: oklch(54.6% 0.204 280.1);
Tailwind
colors: {
  custom: {
    50: '#9987ec',
    500: '#6057e2',
    950: '#000000',
  },
}
SCSS
$custom: #6057e2;
$custom-light: #9987ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6057e2",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 243.885,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.20377,
    "h": 280.1
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#6057E2
secondary
#E1E4B0
accent
#D313C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6057E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6057E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva