#6A6EE6#6A6EE6

#6A6EE6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.7% C 0.178 H 278.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6A6EE6
RGBrgb(106, 110, 230)
HSLhsl(238, 71%, 66%)
HSVhsv(238, 54%, 90%)
CMYKcmyk(53.9%, 52.2%, 0%, 9.8%)
CIE-LABlab(51.76, 31.68, -61.62)
CIE-LCHlch(51.76, 69.29, 297.21°)
OKLaboklab(59.66% 0.0251 -0.1762)
OKLCHoklch(59.66% 0.178 278.1)
XYZxyz(25.7982, 19.9275, 77.3345)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EE6 #E6E26A
analogous
#6AACE6 #6A6EE6 #A46AE6
triadic
#6A6EE6 #E66A6E #6EE66A
tetradic
#6A6EE6 #E66AAC #E6E26A #6AE6A4
square
#6A6EE6 #E66AAC #E6E26A #6AE6A4
split-complementary
#6A6EE6 #E6A46A #ACE66A
monochromatic
#1F24B7 #363BDD #6A6EE6 #9EA1EF #D3D4F8

Accessibility & contrast

On white

4.21
#6A6EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6A6EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EE6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EE6#FFFFFF#000000##000000
##6A6EE61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80EA
Deuteranopia (green-blind)
#1376E3
Tritanopia (blue-blind)
#2E899F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a6ee6;
/* rgb */ color: rgb(106, 110, 230);
/* oklch */ color: oklch(59.7% 0.178 278.1);
Tailwind
colors: {
  custom: {
    50: '#9e97ef',
    500: '#6a6ee6',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ee6;
$custom-light: #9e97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ee6",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 230
  },
  "hsl": {
    "h": 238.065,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.17794,
    "h": 278.1
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#6A6EE6
secondary
#EAE9C1
accent
#CD12D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6A6EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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