#6057E4#6057E4

#6057E4 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.206 H 280.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6057E4
RGBrgb(96, 87, 228)
HSLhsl(244, 72%, 62%)
HSVhsv(244, 62%, 89%)
CMYKcmyk(57.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(45.50, 42.98, -70.66)
CIE-LCHlch(45.50, 82.70, 301.31°)
OKLaboklab(54.8% 0.0358 -0.2032)
OKLCHoklch(54.8% 0.206 280)
XYZxyz(22.2312, 14.9031, 75.0888)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057E4 #DBE457
analogous
#5795E4 #6057E4 #A757E4
triadic
#6057E4 #E46057 #57E460
tetradic
#6057E4 #E45795 #DBE457 #57E4A7
square
#6057E4 #E45795 #DBE457 #57E4A7
split-complementary
#6057E4 #E4A757 #95E457
monochromatic
#241BA6 #2F23DB #6057E4 #928CEC #C4C0F5

Accessibility & contrast

On white

5.28
#6057E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6057E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057E4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057E4#FFFFFF#000000##FFFFFF
##6057E41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#037A95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6057e4;
/* rgb */ color: rgb(96, 87, 228);
/* oklch */ color: oklch(54.8% 0.206 280.0);
Tailwind
colors: {
  custom: {
    50: '#9987ed',
    500: '#6057e4',
    950: '#000000',
  },
}
SCSS
$custom: #6057e4;
$custom-light: #9987ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6057e4",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 243.83,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.2063,
    "h": 280
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#6057E4
secondary
#E2E6B1
accent
#D411C8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6057E4

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

Preview Lab → · Contrast checker → · Palette generator →

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