#6057CF#6057CF

#6057CF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.179 H 281.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6057CF
RGBrgb(96, 87, 207)
HSLhsl(245, 56%, 58%)
HSVhsv(245, 58%, 81%)
CMYKcmyk(53.6%, 58%, 0%, 18.8%)
CIE-LABlab(43.95, 36.42, -61.19)
CIE-LCHlch(43.95, 71.21, 300.76°)
OKLaboklab(53.18% 0.0366 -0.1753)
OKLCHoklch(53.18% 0.179 281.8)
XYZxyz(19.4911, 13.8070, 60.6574)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057CF #C6CF57
analogous
#578ACF #6057CF #9C57CF
triadic
#6057CF #CF6057 #57CF60
tetradic
#6057CF #CF578A #C6CF57 #57CF9C
square
#6057CF #CF578A #C6CF57 #57CF9C
split-complementary
#6057CF #CF9C57 #8ACF57
monochromatic
#2D2685 #3D34B5 #6057CF #8D87DD #BAB6EA

Accessibility & contrast

On white

5.58
#6057CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6057CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057CF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057CF#FFFFFF#000000##FFFFFF
##6057CF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#2F738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6057cf;
/* rgb */ color: rgb(96, 87, 207);
/* oklch */ color: oklch(53.2% 0.179 281.8);
Tailwind
colors: {
  custom: {
    50: '#9687de',
    500: '#6057cf',
    950: '#000000',
  },
}
SCSS
$custom: #6057cf;
$custom-light: #9687de;
$custom-dark: #000000;
JSON
{
  "hex": "#6057cf",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 244.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.17912,
    "h": 281.8
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#6057CF
secondary
#D5D9A9
accent
#DF49D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6057CF

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

Preview Lab → · Contrast checker → · Palette generator →

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