#6A58D2#6A58D2

#6A58D2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.180 H 285.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6A58D2
RGBrgb(106, 88, 210)
HSLhsl(249, 58%, 58%)
HSVhsv(249, 58%, 82%)
CMYKcmyk(49.5%, 58.1%, 0%, 17.6%)
CIE-LABlab(45.21, 38.72, -60.84)
CIE-LCHlch(45.21, 72.11, 302.47°)
OKLaboklab(54.37% 0.0481 -0.174)
OKLCHoklch(54.37% 0.181 285.4)
XYZxyz(21.0630, 14.6957, 62.6870)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A58D2 #C0D258
analogous
#5883D2 #6A58D2 #A758D2
triadic
#6A58D2 #D26A58 #58D26A
tetradic
#6A58D2 #D25883 #C0D258 #58D2A7
square
#6A58D2 #D25883 #C0D258 #58D2A7
split-complementary
#6A58D2 #D2A758 #83D258
monochromatic
#34258A #4632BB #6A58D2 #9588DF #C0B8EC

Accessibility & contrast

On white

5.33
#6A58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6A58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A58D2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A58D2#FFFFFF#000000##FFFFFF
##6A58D21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#44748C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a58d2;
/* rgb */ color: rgb(106, 88, 210);
/* oklch */ color: oklch(54.4% 0.180 285.4);
Tailwind
colors: {
  custom: {
    50: '#9c88e1',
    500: '#6a58d2',
    950: '#000000',
  },
}
SCSS
$custom: #6a58d2;
$custom-light: #9c88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a58d2",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 248.852,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.1805,
    "h": 285.4
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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