#6057DF#6057DF

#6057DF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.4% C 0.200 H 280.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6057DF
RGBrgb(96, 87, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57%, 61%, 0%, 12.5%)
CIE-LABlab(45.12, 41.42, -68.44)
CIE-LCHlch(45.12, 80.00, 301.18°)
OKLaboklab(54.4% 0.0361 -0.1967)
OKLCHoklch(54.4% 0.2 280.4)
XYZxyz(21.5472, 14.6295, 71.4861)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057DF #D6DF57
analogous
#5792DF #6057DF #A457DF
triadic
#6057DF #DF6057 #57DF60
tetradic
#6057DF #DF5792 #D6DF57 #57DFA4
square
#6057DF #DF5792 #D6DF57 #57DFA4
split-complementary
#6057DF #DFA457 #92DF57
monochromatic
#261E9E #3328D1 #6057DF #918AE9 #C1BEF3

Accessibility & contrast

On white

5.35
#6057DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6057DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057DF#FFFFFF#000000##FFFFFF
##6057DF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#157893
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6057df;
/* rgb */ color: rgb(96, 87, 223);
/* oklch */ color: oklch(54.4% 0.200 280.4);
Tailwind
colors: {
  custom: {
    50: '#9887ea',
    500: '#6057df',
    950: '#000000',
  },
}
SCSS
$custom: #6057df;
$custom-light: #9887ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6057df",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 243.971,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.19994,
    "h": 280.4
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#6057DF
secondary
#DFE3AF
accent
#D016C4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6057DF

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

Preview Lab → · Contrast checker → · Palette generator →

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