#6057CC#6057CC

#6057CC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.175 H 282.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6057CC
RGBrgb(96, 87, 204)
HSLhsl(245, 53%, 57%)
HSVhsv(245, 57%, 80%)
CMYKcmyk(52.9%, 57.4%, 0%, 20%)
CIE-LABlab(43.74, 35.49, -59.81)
CIE-LCHlch(43.74, 69.55, 300.68°)
OKLaboklab(52.95% 0.0366 -0.1713)
OKLCHoklch(52.95% 0.175 282.1)
XYZxyz(19.1278, 13.6617, 58.7441)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057CC #C3CC57
analogous
#5789CC #6057CC #9A57CC
triadic
#6057CC #CC6057 #57CC60
tetradic
#6057CC #CC5789 #C3CC57 #57CC9A
square
#6057CC #CC5789 #C3CC57 #57CC9A
split-complementary
#6057CC #CC9A57 #89CC57
monochromatic
#2E2781 #3F36B0 #6057CC #8C86DA #B9B5E9

Accessibility & contrast

On white

5.63
#6057CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6057CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057CC#FFFFFF#000000##FFFFFF
##6057CC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#327289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6057cc;
/* rgb */ color: rgb(96, 87, 204);
/* oklch */ color: oklch(53.0% 0.175 282.1);
Tailwind
colors: {
  custom: {
    50: '#9687dc',
    500: '#6057cc',
    950: '#000000',
  },
}
SCSS
$custom: #6057cc;
$custom-light: #9687dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6057cc",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 244.615,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.17515,
    "h": 282.1
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#6057CC
secondary
#D4D7A8
accent
#DD4BD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6057CC

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

Preview Lab → · Contrast checker → · Palette generator →

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