#6A6FEC#6A6FEC

#6A6FEC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.3% C 0.185 H 277.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6A6FEC
RGBrgb(106, 111, 236)
HSLhsl(238, 77%, 67%)
HSVhsv(238, 55%, 93%)
CMYKcmyk(55.1%, 53%, 0%, 7.5%)
CIE-LABlab(52.38, 32.96, -63.97)
CIE-LCHlch(52.38, 71.97, 297.26°)
OKLaboklab(60.25% 0.0244 -0.1831)
OKLCHoklch(60.25% 0.185 277.6)
XYZxyz(26.7638, 20.4874, 81.8848)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6FEC #ECE76A
analogous
#6AB0EC #6A6FEC #A66AEC
triadic
#6A6FEC #EC6A6F #6FEC6A
tetradic
#6A6FEC #EC6AB0 #ECE76A #6AECA6
square
#6A6FEC #EC6AB0 #ECE76A #6AECA6
split-complementary
#6A6FEC #ECA66A #B0EC6A
monochromatic
#191FC3 #343BE5 #6A6FEC #A0A3F3 #D7D8FA

Accessibility & contrast

On white

4.12
#6A6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6A6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6FEC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6FEC#FFFFFF#000000##000000
##6A6FEC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482F0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#258CA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a6fec;
/* rgb */ color: rgb(106, 111, 236);
/* oklch */ color: oklch(60.3% 0.185 277.6);
Tailwind
colors: {
  custom: {
    50: '#9e98f3',
    500: '#6a6fec',
    950: '#000000',
  },
}
SCSS
$custom: #6a6fec;
$custom-light: #9e98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6fec",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 237.692,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.18468,
    "h": 277.6
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#6A6FEC
secondary
#EEECC4
accent
#D20CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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