#6A6FDA#6A6FDA

#6A6FDA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.160 H 278.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6A6FDA
RGBrgb(106, 111, 218)
HSLhsl(237, 60%, 64%)
HSVhsv(237, 51%, 85%)
CMYKcmyk(51.4%, 49.1%, 0%, 14.5%)
CIE-LABlab(51.26, 27.34, -55.66)
CIE-LCHlch(51.26, 62.01, 296.16°)
OKLaboklab(59.05% 0.0231 -0.1586)
OKLCHoklch(59.05% 0.16 278.3)
XYZxyz(24.2792, 19.4935, 68.7993)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6FDA #DAD56A
analogous
#6AA7DA #6A6FDA #9D6ADA
triadic
#6A6FDA #DA6A6F #6FDA6A
tetradic
#6A6FDA #DA6AA7 #DAD56A #6ADA9D
square
#6A6FDA #DA6AA7 #DAD56A #6ADA9D
split-complementary
#6A6FDA #DA9D6A #A7DA6A
monochromatic
#282EA1 #3940CE #6A6FDA #9B9EE6 #CCCEF2

Accessibility & contrast

On white

4.29
#6A6FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6A6FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6FDA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6FDA#FFFFFF#000000##000000
##6A6FDA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDE
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#3B869A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a6fda;
/* rgb */ color: rgb(106, 111, 218);
/* oklch */ color: oklch(59.0% 0.160 278.3);
Tailwind
colors: {
  custom: {
    50: '#9c98e6',
    500: '#6a6fda',
    950: '#000000',
  },
}
SCSS
$custom: #6a6fda;
$custom-light: #9c98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6fda",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 237.321,
    "s": 60.215,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.16028,
    "h": 278.3
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#6A6FDA
secondary
#E4E2BC
accent
#C01EC8
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6A6FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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