#6057EB#6057EB

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

Color values

HEX#6057EB
RGBrgb(96, 87, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(59.1%, 63%, 0%, 7.8%)
CIE-LABlab(46.04, 45.16, -73.73)
CIE-LCHlch(46.04, 86.46, 301.48°)
OKLaboklab(55.36% 0.0352 -0.2122)
OKLCHoklch(55.36% 0.215 279.4)
XYZxyz(23.2227, 15.2997, 80.3105)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057EB #E2EB57
analogous
#5798EB #6057EB #AA57EB
triadic
#6057EB #EB6057 #57EB60
tetradic
#6057EB #EB5798 #E2EB57 #57EBAA
square
#6057EB #EB5798 #E2EB57 #57EBAA
split-complementary
#6057EB #EBAA57 #98EB57
monochromatic
#1F15B2 #2C20E4 #6057EB #948EF2 #C8C4F8

Accessibility & contrast

On white

5.17
#6057EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6057EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057EB#FFFFFF#000000##FFFFFF
##6057EB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6057eb;
/* rgb */ color: rgb(96, 87, 235);
/* oklch */ color: oklch(55.4% 0.215 279.4);
Tailwind
colors: {
  custom: {
    50: '#9a87f2',
    500: '#6057eb',
    950: '#000000',
  },
}
SCSS
$custom: #6057eb;
$custom-light: #9a87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6057eb",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 243.649,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.21511,
    "h": 279.4
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#6057EB
secondary
#E6E9B4
accent
#DB0ACE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6057EB

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

Preview Lab → · Contrast checker → · Palette generator →

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