#6060CD#6060CD

#6060CD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.164 H 279.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6060CD
RGBrgb(96, 96, 205)
HSLhsl(240, 52%, 59%)
HSVhsv(240, 53%, 80%)
CMYKcmyk(53.2%, 53.2%, 0%, 19.6%)
CIE-LABlab(45.99, 30.32, -56.76)
CIE-LCHlch(45.99, 64.35, 298.11°)
OKLaboklab(54.64% 0.0271 -0.1622)
OKLCHoklch(54.64% 0.164 279.5)
XYZxyz(20.0228, 15.2591, 59.6360)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6060CD #CDCD60
analogous
#6097CD #6060CD #9760CD
triadic
#6060CD #CD6060 #60CD60
tetradic
#6060CD #CD6097 #CDCD60 #60CD97
square
#6060CD #CD6097 #CDCD60 #60CD97
split-complementary
#6060CD #CD9760 #97CD60
monochromatic
#2B2B88 #3939B6 #6060CD #8F8FDC #BDBDEA

Accessibility & contrast

On white

5.18
#6060CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6060CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6060CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6060CD#FFFFFF#000000##FFFFFF
##6060CD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#0E69CB
Tritanopia (blue-blind)
#2F798D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6060cd;
/* rgb */ color: rgb(96, 96, 205);
/* oklch */ color: oklch(54.6% 0.164 279.5);
Tailwind
colors: {
  custom: {
    50: '#958ddd',
    500: '#6060cd',
    950: '#000000',
  },
}
SCSS
$custom: #6060cd;
$custom-light: #958ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6060cd",
  "rgb": {
    "r": 96,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.16448,
    "h": 279.5
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#6060CD
secondary
#DADAAF
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6060CD

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

Preview Lab → · Contrast checker → · Palette generator →

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