#6057EC#6057EC

#6057EC is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.216 H 279.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6057EC
RGBrgb(96, 87, 236)
HSLhsl(244, 80%, 63%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(59.3%, 63.1%, 0%, 7.5%)
CIE-LABlab(46.12, 45.47, -74.17)
CIE-LCHlch(46.12, 87.00, 301.51°)
OKLaboklab(55.44% 0.0352 -0.2135)
OKLCHoklch(55.44% 0.216 279.4)
XYZxyz(23.3676, 15.3576, 81.0736)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057EC #E3EC57
analogous
#5798EC #6057EC #AA57EC
triadic
#6057EC #EC6057 #57EC60
tetradic
#6057EC #EC5798 #E3EC57 #57ECAA
square
#6057EC #EC5798 #E3EC57 #57ECAA
split-complementary
#6057EC #ECAA57 #98EC57
monochromatic
#1E14B4 #2C20E6 #6057EC #948EF2 #C8C5F8

Accessibility & contrast

On white

5.16
#6057EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6057EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057EC#FFFFFF#000000##FFFFFF
##6057EC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6057ec;
/* rgb */ color: rgb(96, 87, 236);
/* oklch */ color: oklch(55.4% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#9a87f3',
    500: '#6057ec',
    950: '#000000',
  },
}
SCSS
$custom: #6057ec;
$custom-light: #9a87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6057ec",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 243.624,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.21636,
    "h": 279.4
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#6057EC
secondary
#E7EAB5
accent
#DC0ACF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6057EC

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

Preview Lab → · Contrast checker → · Palette generator →

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