#6A6EEC#6A6EEC

#6A6EEC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.1% C 0.186 H 277.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6A6EEC
RGBrgb(106, 110, 236)
HSLhsl(238, 77%, 67%)
HSVhsv(238, 55%, 93%)
CMYKcmyk(55.1%, 53.4%, 0%, 7.5%)
CIE-LABlab(52.14, 33.57, -64.36)
CIE-LCHlch(52.14, 72.59, 297.54°)
OKLaboklab(60.07% 0.0254 -0.1842)
OKLCHoklch(60.07% 0.186 277.8)
XYZxyz(26.6553, 20.2704, 81.8486)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EEC #ECE86A
analogous
#6AAFEC #6A6EEC #A76AEC
triadic
#6A6EEC #EC6A6E #6EEC6A
tetradic
#6A6EEC #EC6AAF #ECE86A #6AECA7
square
#6A6EEC #EC6AAF #ECE86A #6AECA7
split-complementary
#6A6EEC #ECA76A #AFEC6A
monochromatic
#191EC3 #3439E5 #6A6EEC #A0A3F3 #D7D8FA

Accessibility & contrast

On white

4.15
#6A6EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6A6EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EEC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EEC#FFFFFF#000000##000000
##6A6EEC1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#268BA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a6eec;
/* rgb */ color: rgb(106, 110, 236);
/* oklch */ color: oklch(60.1% 0.186 277.8);
Tailwind
colors: {
  custom: {
    50: '#9e97f3',
    500: '#6a6eec',
    950: '#000000',
  },
}
SCSS
$custom: #6a6eec;
$custom-light: #9e97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6eec",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 238.154,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.18597,
    "h": 277.8
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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