#6050F2#6050F2

#6050F2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.9% C 0.232 H 280.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6050F2
RGBrgb(96, 80, 242)
HSLhsl(246, 86%, 63%)
HSVhsv(246, 67%, 95%)
CMYKcmyk(60.3%, 66.9%, 0%, 5.1%)
CIE-LABlab(45.13, 51.29, -79.17)
CIE-LCHlch(45.13, 94.33, 302.94°)
OKLaboklab(54.87% 0.0401 -0.2281)
OKLCHoklch(54.87% 0.232 280)
XYZxyz(23.7145, 14.6332, 85.5620)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050F2 #E2F250
analogous
#5091F2 #6050F2 #B150F2
triadic
#6050F2 #F26050 #50F260
tetradic
#6050F2 #F25091 #E2F250 #50F2B1
square
#6050F2 #F25091 #E2F250 #50F2B1
split-complementary
#6050F2 #F2B150 #91F250
monochromatic
#1F0EBA #2C17EE #6050F2 #9489F6 #C8C2FA

Accessibility & contrast

On white

5.35
#6050F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6050F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050F2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050F2#FFFFFF#000000##FFFFFF
##6050F21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0065EF
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6050f2;
/* rgb */ color: rgb(96, 80, 242);
/* oklch */ color: oklch(54.9% 0.232 280.0);
Tailwind
colors: {
  custom: {
    50: '#9c83f8',
    500: '#6050f2',
    950: '#000000',
  },
}
SCSS
$custom: #6050f2;
$custom-light: #9c83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6050f2",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 242
  },
  "hsl": {
    "h": 245.926,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.23165,
    "h": 280
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#6050F2
secondary
#E6ECB2
accent
#E303CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6050F2

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

Preview Lab → · Contrast checker → · Palette generator →

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