#6B59CC#6B59CC

#6B59CC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.171 H 286.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6B59CC
RGBrgb(107, 89, 204)
HSLhsl(249, 53%, 57%)
HSVhsv(249, 56%, 80%)
CMYKcmyk(47.5%, 56.4%, 0%, 20%)
CIE-LABlab(45.12, 36.55, -57.54)
CIE-LCHlch(45.12, 68.16, 302.43°)
OKLaboklab(54.2% 0.0483 -0.1642)
OKLCHoklch(54.2% 0.171 286.4)
XYZxyz(20.5317, 14.6293, 58.8569)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B59CC #BACC59
analogous
#5981CC #6B59CC #A459CC
triadic
#6B59CC #CC6B59 #59CC6B
tetradic
#6B59CC #CC5981 #BACC59 #59CCA4
square
#6B59CC #CC5981 #BACC59 #59CCA4
split-complementary
#6B59CC #CCA459 #81CC59
monochromatic
#362883 #4A36B1 #6B59CC #9588DA #BEB7E9

Accessibility & contrast

On white

5.35
#6B59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6B59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B59CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B59CC#FFFFFF#000000##FFFFFF
##6B59CC1.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)
#0C6ED0
Deuteranopia (green-blind)
#0867CA
Tritanopia (blue-blind)
#4A738A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b59cc;
/* rgb */ color: rgb(107, 89, 204);
/* oklch */ color: oklch(54.2% 0.171 286.4);
Tailwind
colors: {
  custom: {
    50: '#9c88dc',
    500: '#6b59cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b59cc;
$custom-light: #9c88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b59cc",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 249.391,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.17119,
    "h": 286.4
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#6B59CC
secondary
#D0D8A9
accent
#DC4BC6
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B59CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6B59CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva