#6057F2#6057F2

#6057F2 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.224 H 278.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6057F2
RGBrgb(96, 87, 242)
HSLhsl(243, 86%, 65%)
HSVhsv(243, 64%, 95%)
CMYKcmyk(60.3%, 64%, 0%, 5.1%)
CIE-LABlab(46.59, 47.34, -76.77)
CIE-LCHlch(46.59, 90.19, 301.66°)
OKLaboklab(55.94% 0.0346 -0.2211)
OKLCHoklch(55.94% 0.224 278.9)
XYZxyz(24.2540, 15.7122, 85.7418)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057F2 #E9F257
analogous
#579CF2 #6057F2 #AE57F2
triadic
#6057F2 #F26057 #57F260
tetradic
#6057F2 #F2579C #E9F257 #57F2AE
square
#6057F2 #F2579C #E9F257 #57F2AE
split-complementary
#6057F2 #F2AE57 #9CF257
monochromatic
#190FC0 #2A1EEE #6057F2 #9690F6 #CCC9FB

Accessibility & contrast

On white

5.07
#6057F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6057F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057F2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057F2#FFFFFF#000000##FFFFFF
##6057F21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6057f2;
/* rgb */ color: rgb(96, 87, 242);
/* oklch */ color: oklch(55.9% 0.224 278.9);
Tailwind
colors: {
  custom: {
    50: '#9b87f7',
    500: '#6057f2',
    950: '#000000',
  },
}
SCSS
$custom: #6057f2;
$custom-light: #9b87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6057f2",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 243.484,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.2238,
    "h": 278.9
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#6057F2
secondary
#EAEDB8
accent
#E203D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6057F2

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

Preview Lab → · Contrast checker → · Palette generator →

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