#6A7AFA#6A7AFA

#6A7AFA is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.2% C 0.189 H 274.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6A7AFA
RGBrgb(106, 122, 250)
HSLhsl(233, 94%, 70%)
HSVhsv(233, 58%, 98%)
CMYKcmyk(57.6%, 51.2%, 0%, 2%)
CIE-LABlab(55.97, 30.79, -65.97)
CIE-LCHlch(55.97, 72.81, 295.02°)
OKLaboklab(63.23% 0.0142 -0.1889)
OKLCHoklch(63.23% 0.189 274.3)
XYZxyz(30.1531, 23.8831, 93.4449)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7AFA #FAEA6A
analogous
#6AC2FA #6A7AFA #A26AFA
triadic
#6A7AFA #FA6A7A #7AFA6A
tetradic
#6A7AFA #FA6AC2 #FAEA6A #6AFAA2
square
#6A7AFA #FA6AC2 #FAEA6A #6AFAA2
split-complementary
#6A7AFA #FAA26A #C2FA6A
monochromatic
#0820E2 #2F45F8 #6A7AFA #A5AFFC #E0E4FE

Accessibility & contrast

On white

3.64
#6A7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#6A7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7AFA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7AFA#FFFFFF#000000##000000
##6A7AFA1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#0880F7
Tritanopia (blue-blind)
#0097AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6a7afa;
/* rgb */ color: rgb(106, 122, 250);
/* oklch */ color: oklch(63.2% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#a0a0fd',
    500: '#6a7afa',
    950: '#000000',
  },
}
SCSS
$custom: #6a7afa;
$custom-light: #a0a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7afa",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 233.333,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63231,
    "c": 0.18939,
    "h": 274.3
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#6A7AFA
secondary
#F4F0CC
accent
#CC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6A7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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