#6B58DB#6B58DB

#6B58DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 55.1% C 0.192 H 284.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6B58DB
RGBrgb(107, 88, 219)
HSLhsl(249, 65%, 60%)
HSVhsv(249, 60%, 86%)
CMYKcmyk(51.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(45.93, 41.60, -64.81)
CIE-LCHlch(45.93, 77.01, 302.69°)
OKLaboklab(55.12% 0.049 -0.1857)
OKLCHoklch(55.12% 0.192 284.8)
XYZxyz(22.3355, 15.2186, 68.7647)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B58DB #C8DB58
analogous
#5887DB #6B58DB #AC58DB
triadic
#6B58DB #DB6B58 #58DB6B
tetradic
#6B58DB #DB5887 #C8DB58 #58DBAC
square
#6B58DB #DB5887 #C8DB58 #58DBAC
split-complementary
#6B58DB #DBAC58 #87DB58
monochromatic
#322198 #432CCA #6B58DB #988AE6 #C4BDF1

Accessibility & contrast

On white

5.19
#6B58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B58DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B58DB#FFFFFF#000000##FFFFFF
##6B58DB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#3F7791
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b58db;
/* rgb */ color: rgb(107, 88, 219);
/* oklch */ color: oklch(55.1% 0.192 284.8);
Tailwind
colors: {
  custom: {
    50: '#9e88e7',
    500: '#6b58db',
    950: '#000000',
  },
}
SCSS
$custom: #6b58db;
$custom-light: #9e88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b58db",
  "rgb": {
    "r": 107,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 248.702,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.19203,
    "h": 284.8
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#6B58DB
secondary
#D9E1AE
accent
#CC19B2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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