#6A6AFA#6A6AFA

#6A6AFA is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.4% C 0.209 H 278.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6A6AFA
RGBrgb(106, 106, 250)
HSLhsl(240, 94%, 70%)
HSVhsv(240, 58%, 98%)
CMYKcmyk(57.6%, 57.6%, 0%, 2%)
CIE-LABlab(52.14, 40.34, -72.16)
CIE-LCHlch(52.14, 82.67, 299.21°)
OKLaboklab(60.37% 0.0295 -0.2072)
OKLCHoklch(60.37% 0.209 278.1)
XYZxyz(28.3477, 20.2723, 92.8431)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AFA #FAFA6A
analogous
#6AB2FA #6A6AFA #B26AFA
triadic
#6A6AFA #FA6A6A #6AFA6A
tetradic
#6A6AFA #FA6AB2 #FAFA6A #6AFAB2
square
#6A6AFA #FA6AB2 #FAFA6A #6AFAB2
split-complementary
#6A6AFA #FAB26A #B2FA6A
monochromatic
#0808E2 #2F2FF8 #6A6AFA #A5A5FC #E0E0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6AFA#FFFFFF#000000##000000
##6A6AFA1.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)
#0082FF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#008CA8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a6afa;
/* rgb */ color: rgb(106, 106, 250);
/* oklch */ color: oklch(60.4% 0.209 278.1);
Tailwind
colors: {
  custom: {
    50: '#a195fd',
    500: '#6a6afa',
    950: '#000000',
  },
}
SCSS
$custom: #6a6afa;
$custom-light: #a195fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6afa",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.2093,
    "h": 278.1
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#6A6AFA
secondary
#F4F4CC
accent
#E600E5
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6A6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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