#6B59D7#6B59D7

#6B59D7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 55.0% C 0.186 H 285.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6B59D7
RGBrgb(107, 89, 215)
HSLhsl(249, 61%, 60%)
HSVhsv(249, 59%, 84%)
CMYKcmyk(50.2%, 58.6%, 0%, 15.7%)
CIE-LABlab(45.87, 39.82, -62.63)
CIE-LCHlch(45.87, 74.22, 302.45°)
OKLaboklab(54.99% 0.0481 -0.1792)
OKLCHoklch(54.99% 0.186 285)
XYZxyz(21.8979, 15.1757, 66.0522)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B59D7 #C5D759
analogous
#5986D7 #6B59D7 #AA59D7
triadic
#6B59D7 #D76B59 #59D76B
tetradic
#6B59D7 #D75986 #C5D759 #59D7AA
square
#6B59D7 #D75986 #C5D759 #59D7AA
split-complementary
#6B59D7 #D7AA59 #86D759
monochromatic
#332392 #442FC4 #6B59D7 #978AE3 #C3BCEF

Accessibility & contrast

On white

5.20
#6B59D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6B59D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B59D7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B59D7#FFFFFF#000000##FFFFFF
##6B59D71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#43768F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b59d7;
/* rgb */ color: rgb(107, 89, 215);
/* oklch */ color: oklch(55.0% 0.186 285.0);
Tailwind
colors: {
  custom: {
    50: '#9d88e4',
    500: '#6b59d7',
    950: '#000000',
  },
}
SCSS
$custom: #6b59d7;
$custom-light: #9d88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b59d7",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 248.571,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.18557,
    "h": 285
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#6B59D7
secondary
#D7DEAD
accent
#E444CD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B59D7

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

Preview Lab → · Contrast checker → · Palette generator →

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