#6B58D2#6B58D2

#6B58D2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.180 H 285.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6B58D2
RGBrgb(107, 88, 210)
HSLhsl(249, 58%, 58%)
HSVhsv(249, 58%, 82%)
CMYKcmyk(49%, 58.1%, 0%, 17.6%)
CIE-LABlab(45.30, 38.92, -60.70)
CIE-LCHlch(45.30, 72.10, 302.67°)
OKLaboklab(54.46% 0.0493 -0.1735)
OKLCHoklch(54.46% 0.18 285.9)
XYZxyz(21.1826, 14.7574, 62.6926)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B58D2 #BFD258
analogous
#5882D2 #6B58D2 #A858D2
triadic
#6B58D2 #D26B58 #58D26B
tetradic
#6B58D2 #D25882 #BFD258 #58D2A8
square
#6B58D2 #D25882 #BFD258 #58D2A8
split-complementary
#6B58D2 #D2A858 #82D258
monochromatic
#35258A #4732BB #6B58D2 #9688DF #C0B8EC

Accessibility & contrast

On white

5.31
#6B58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B58D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B58D2#FFFFFF#000000##FFFFFF
##6B58D21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#46748C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b58d2;
/* rgb */ color: rgb(107, 88, 210);
/* oklch */ color: oklch(54.5% 0.180 285.9);
Tailwind
colors: {
  custom: {
    50: '#9d88e1',
    500: '#6b58d2',
    950: '#000000',
  },
}
SCSS
$custom: #6b58d2;
$custom-light: #9d88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b58d2",
  "rgb": {
    "r": 107,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 249.344,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.18041,
    "h": 285.9
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#6B58D2
secondary
#D4DBAB
accent
#E147C9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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