#6057EA#6057EA

#6057EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.214 H 279.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6057EA
RGBrgb(96, 87, 234)
HSLhsl(244, 78%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(59%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.96, 44.85, -73.30)
CIE-LCHlch(45.96, 85.93, 301.46°)
OKLaboklab(55.28% 0.0353 -0.2109)
OKLCHoklch(55.28% 0.214 279.5)
XYZxyz(23.0786, 15.2420, 79.5518)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057EA #E1EA57
analogous
#5798EA #6057EA #A957EA
triadic
#6057EA #EA6057 #57EA60
tetradic
#6057EA #EA5798 #E1EA57 #57EAA9
square
#6057EA #EA5798 #E1EA57 #57EAA9
split-complementary
#6057EA #EAA957 #98EA57
monochromatic
#2016B1 #2D21E3 #6057EA #938DF1 #C7C4F8

Accessibility & contrast

On white

5.19
#6057EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6057EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057EA#FFFFFF#000000##FFFFFF
##6057EA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6057ea;
/* rgb */ color: rgb(96, 87, 234);
/* oklch */ color: oklch(55.3% 0.214 279.5);
Tailwind
colors: {
  custom: {
    50: '#9a87f2',
    500: '#6057ea',
    950: '#000000',
  },
}
SCSS
$custom: #6057ea;
$custom-light: #9a87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6057ea",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 243.673,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.21386,
    "h": 279.5
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#6057EA
secondary
#E6E9B4
accent
#DA0BCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6057EA

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

Preview Lab → · Contrast checker → · Palette generator →

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