#6050CF#6050CF

#6050CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.188 H 283.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6050CF
RGBrgb(96, 80, 207)
HSLhsl(248, 57%, 56%)
HSVhsv(248, 61%, 81%)
CMYKcmyk(53.6%, 61.4%, 0%, 18.8%)
CIE-LABlab(42.35, 40.59, -63.80)
CIE-LCHlch(42.35, 75.62, 302.47°)
OKLaboklab(52% 0.0437 -0.183)
OKLCHoklch(52% 0.188 283.4)
XYZxyz(18.9516, 12.7280, 60.4775)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050CF #BFCF50
analogous
#5080CF #6050CF #A050CF
triadic
#6050CF #CF6050 #50CF60
tetradic
#6050CF #CF5080 #BFCF50 #50CFA0
square
#6050CF #CF5080 #BFCF50 #50CFA0
split-complementary
#6050CF #CFA050 #80CF50
monochromatic
#2F2381 #4131B1 #6050CF #8C80DC #B7B0E9

Accessibility & contrast

On white

5.92
#6050CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6050CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050CF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050CF#FFFFFF#000000##FFFFFF
##6050CF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#306F88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6050cf;
/* rgb */ color: rgb(96, 80, 207);
/* oklch */ color: oklch(52.0% 0.188 283.4);
Tailwind
colors: {
  custom: {
    50: '#9682df',
    500: '#6050cf',
    950: '#000000',
  },
}
SCSS
$custom: #6050cf;
$custom-light: #9682df;
$custom-dark: #000000;
JSON
{
  "hex": "#6050cf",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 247.559,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.18817,
    "h": 283.4
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#6050CF
secondary
#D1D8A3
accent
#E048CD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6050CF

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

Preview Lab → · Contrast checker → · Palette generator →

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