#6A6CEB#6A6CEB

#6A6CEB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.6% C 0.187 H 278.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6A6CEB
RGBrgb(106, 108, 235)
HSLhsl(239, 76%, 67%)
HSVhsv(239, 55%, 92%)
CMYKcmyk(54.9%, 54%, 0%, 7.8%)
CIE-LABlab(51.59, 34.45, -64.69)
CIE-LCHlch(51.59, 73.29, 298.04°)
OKLaboklab(59.64% 0.0274 -0.1852)
OKLCHoklch(59.64% 0.187 278.4)
XYZxyz(26.2971, 19.7857, 81.0145)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6CEB #EBE96A
analogous
#6AADEB #6A6CEB #A96AEB
triadic
#6A6CEB #EB6A6C #6CEB6A
tetradic
#6A6CEB #EB6AAD #EBE96A #6AEBA9
square
#6A6CEB #EB6AAD #EBE96A #6AEBA9
split-complementary
#6A6CEB #EBA96A #ADEB6A
monochromatic
#1A1CC1 #3437E4 #6A6CEB #A0A1F2 #D6D6F9

Accessibility & contrast

On white

4.24
#6A6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6A6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6CEB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6CEB#FFFFFF#000000##000000
##6A6CEB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#2889A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a6ceb;
/* rgb */ color: rgb(106, 108, 235);
/* oklch */ color: oklch(59.6% 0.187 278.4);
Tailwind
colors: {
  custom: {
    50: '#9e96f2',
    500: '#6a6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ceb;
$custom-light: #9e96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ceb",
  "rgb": {
    "r": 106,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 239.07,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.18721,
    "h": 278.4
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#6A6CEB
secondary
#EDECC4
accent
#D50DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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