#6050EF#6050EF

#6050EF is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.6% C 0.228 H 280.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6050EF
RGBrgb(96, 80, 239)
HSLhsl(246, 83%, 63%)
HSVhsv(246, 67%, 94%)
CMYKcmyk(59.8%, 66.5%, 0%, 6.3%)
CIE-LABlab(44.88, 50.38, -77.89)
CIE-LCHlch(44.88, 92.76, 302.89°)
OKLaboklab(54.62% 0.0405 -0.2244)
OKLCHoklch(54.62% 0.228 280.2)
XYZxyz(23.2676, 14.4544, 83.2085)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050EF #DFEF50
analogous
#508FEF #6050EF #B050EF
triadic
#6050EF #EF6050 #50EF60
tetradic
#6050EF #EF508F #DFEF50 #50EFB0
square
#6050EF #EF508F #DFEF50 #50EFB0
split-complementary
#6050EF #EFB050 #8FEF50
monochromatic
#2110B4 #2D18EA #6050EF #9388F4 #C6C0F9

Accessibility & contrast

On white

5.40
#6050EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6050EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050EF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050EF#FFFFFF#000000##FFFFFF
##6050EF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007999
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6050ef;
/* rgb */ color: rgb(96, 80, 239);
/* oklch */ color: oklch(54.6% 0.228 280.2);
Tailwind
colors: {
  custom: {
    50: '#9b82f5',
    500: '#6050ef',
    950: '#000000',
  },
}
SCSS
$custom: #6050ef;
$custom-light: #9b82f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6050ef",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 246.038,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.22804,
    "h": 280.2
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#6050EF
secondary
#E4EAB0
accent
#E006CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6050EF

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

Preview Lab → · Contrast checker → · Palette generator →

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