#6A6EEB#6A6EEB

#6A6EEB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.185 H 277.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A6EEB
RGBrgb(106, 110, 235)
HSLhsl(238, 76%, 67%)
HSVhsv(238, 55%, 92%)
CMYKcmyk(54.9%, 53.2%, 0%, 7.8%)
CIE-LABlab(52.08, 33.25, -63.91)
CIE-LCHlch(52.08, 72.04, 297.49°)
OKLaboklab(60% 0.0253 -0.1829)
OKLCHoklch(60% 0.185 277.9)
XYZxyz(26.5104, 20.2124, 81.0856)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EEB #EBE76A
analogous
#6AAEEB #6A6EEB #A76AEB
triadic
#6A6EEB #EB6A6E #6EEB6A
tetradic
#6A6EEB #EB6AAE #EBE76A #6AEBA7
square
#6A6EEB #EB6AAE #EBE76A #6AEBA7
split-complementary
#6A6EEB #EBA76A #AEEB6A
monochromatic
#1A1FC1 #3439E4 #6A6EEB #A0A3F2 #D6D7F9

Accessibility & contrast

On white

4.16
#6A6EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6A6EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EEB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EEB#FFFFFF#000000##000000
##6A6EEB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#278BA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a6eeb;
/* rgb */ color: rgb(106, 110, 235);
/* oklch */ color: oklch(60.0% 0.185 277.9);
Tailwind
colors: {
  custom: {
    50: '#9e97f2',
    500: '#6a6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #6a6eeb;
$custom-light: #9e97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6eeb",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 238.14,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.18464,
    "h": 277.9
  },
  "luminance": 0.20214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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