#6050CD#6050CD

#6050CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.186 H 283.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6050CD
RGBrgb(96, 80, 205)
HSLhsl(248, 56%, 56%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(53.2%, 61%, 0%, 19.6%)
CIE-LABlab(42.20, 39.98, -62.89)
CIE-LCHlch(42.20, 74.52, 302.45°)
OKLaboklab(51.84% 0.0438 -0.1803)
OKLCHoklch(51.84% 0.186 283.6)
XYZxyz(18.7086, 12.6308, 59.1980)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050CD #BDCD50
analogous
#507ECD #6050CD #9E50CD
triadic
#6050CD #CD6050 #50CD60
tetradic
#6050CD #CD507E #BDCD50 #50CD9E
square
#6050CD #CD507E #BDCD50 #50CD9E
split-complementary
#6050CD #CD9E50 #7ECD50
monochromatic
#30247E #4232AE #6050CD #8B80DB #B6AFE8

Accessibility & contrast

On white

5.96
#6050CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6050CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050CD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050CD#FFFFFF#000000##FFFFFF
##6050CD1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#326E87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6050cd;
/* rgb */ color: rgb(96, 80, 205);
/* oklch */ color: oklch(51.8% 0.186 283.6);
Tailwind
colors: {
  custom: {
    50: '#9682dd',
    500: '#6050cd',
    950: '#000000',
  },
}
SCSS
$custom: #6050cd;
$custom-light: #9682dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6050cd",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 247.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.18559,
    "h": 283.6
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#6050CD
secondary
#D0D6A2
accent
#DF49CC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6050CD

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

Preview Lab → · Contrast checker → · Palette generator →

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