#6050B9#6050B9

#6050B9 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.159 H 286.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6050B9
RGBrgb(96, 80, 185)
HSLhsl(249, 43%, 52%)
HSVhsv(249, 57%, 73%)
CMYKcmyk(48.1%, 56.8%, 0%, 27.5%)
CIE-LABlab(40.78, 33.89, -53.56)
CIE-LCHlch(40.78, 63.39, 302.32°)
OKLaboklab(50.34% 0.0443 -0.1529)
OKLCHoklch(50.34% 0.159 286.2)
XYZxyz(16.4469, 11.7262, 47.2863)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050B9 #A9B950
analogous
#5075B9 #6050B9 #9550B9
triadic
#6050B9 #B96050 #50B960
tetradic
#6050B9 #B95075 #A9B950 #50B995
square
#6050B9 #B95075 #A9B950 #50B995
split-complementary
#6050B9 #B99550 #75B950
monochromatic
#322966 #483A92 #6050B9 #887CCA #AFA7DC

Accessibility & contrast

On white

6.28
#6050B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6050B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050B9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050B9#FFFFFF#000000##FFFFFF
##6050B91.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#055DB7
Tritanopia (blue-blind)
#42687D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6050b9;
/* rgb */ color: rgb(96, 80, 185);
/* oklch */ color: oklch(50.3% 0.159 286.2);
Tailwind
colors: {
  custom: {
    50: '#9381cf',
    500: '#6050b9',
    950: '#000000',
  },
}
SCSS
$custom: #6050b9;
$custom-light: #9381cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6050b9",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 249.143,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.15922,
    "h": 286.2
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#6050B9
secondary
#C2C99B
accent
#D355C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6050B9

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

Preview Lab → · Contrast checker → · Palette generator →

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