#6050CB#6050CB

#6050CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.7% C 0.183 H 283.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6050CB
RGBrgb(96, 80, 203)
HSLhsl(248, 54%, 55%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(52.7%, 60.6%, 0%, 20.4%)
CIE-LABlab(42.05, 39.37, -61.97)
CIE-LCHlch(42.05, 73.42, 302.43°)
OKLaboklab(51.69% 0.0439 -0.1777)
OKLCHoklch(51.69% 0.183 283.9)
XYZxyz(18.4688, 12.5349, 57.9346)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050CB #BBCB50
analogous
#507DCB #6050CB #9D50CB
triadic
#6050CB #CB6050 #50CB60
tetradic
#6050CB #CB507D #BBCB50 #50CB9D
square
#6050CB #CB507D #BBCB50 #50CB9D
split-complementary
#6050CB #CB9D50 #7DCB50
monochromatic
#30257C #4233AB #6050CB #8B7FD9 #B6AEE7

Accessibility & contrast

On white

5.99
#6050CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6050CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050CB#FFFFFF#000000##FFFFFF
##6050CB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#346D86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6050cb;
/* rgb */ color: rgb(96, 80, 203);
/* oklch */ color: oklch(51.7% 0.183 283.9);
Tailwind
colors: {
  custom: {
    50: '#9682dc',
    500: '#6050cb',
    950: '#000000',
  },
}
SCSS
$custom: #6050cb;
$custom-light: #9682dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6050cb",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 247.805,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.183,
    "h": 283.9
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#6050CB
secondary
#CED5A2
accent
#DE4ACA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6050CB

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

Preview Lab → · Contrast checker → · Palette generator →

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