#6057CD#6057CD

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

Color values

HEX#6057CD
RGBrgb(96, 87, 205)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(53.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.81, 35.80, -60.27)
CIE-LCHlch(43.81, 70.10, 300.71°)
OKLaboklab(53.03% 0.0366 -0.1726)
OKLCHoklch(53.03% 0.176 282)
XYZxyz(19.2481, 13.7098, 59.3778)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057CD #C4CD57
analogous
#5789CD #6057CD #9B57CD
triadic
#6057CD #CD6057 #57CD60
tetradic
#6057CD #CD5789 #C4CD57 #57CD9B
square
#6057CD #CD5789 #C4CD57 #57CD9B
split-complementary
#6057CD #CD9B57 #89CD57
monochromatic
#2E2783 #3E35B2 #6057CD #8D86DB #B9B5E9

Accessibility & contrast

On white

5.61
#6057CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6057CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057CD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057CD#FFFFFF#000000##FFFFFF
##6057CD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#317289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6057cd;
/* rgb */ color: rgb(96, 87, 205);
/* oklch */ color: oklch(53.0% 0.176 282.0);
Tailwind
colors: {
  custom: {
    50: '#9687dd',
    500: '#6057cd',
    950: '#000000',
  },
}
SCSS
$custom: #6057cd;
$custom-light: #9687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6057cd",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 244.576,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.17647,
    "h": 282
  },
  "luminance": 0.13711
}

Semantic roles & 50–950 ramp

primary
#6057CD
secondary
#D4D8A8
accent
#DD4AD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6057CD

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

Preview Lab → · Contrast checker → · Palette generator →

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