#6A7EFC#6A7EFC

#6A7EFC is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.187 H 273.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6A7EFC
RGBrgb(106, 126, 252)
HSLhsl(232, 96%, 70%)
HSVhsv(232, 58%, 99%)
CMYKcmyk(57.9%, 50%, 0%, 1.2%)
CIE-LABlab(57.09, 29.03, -65.28)
CIE-LCHlch(57.09, 71.45, 293.98°)
OKLaboklab(64.11% 0.0104 -0.1868)
OKLCHoklch(64.11% 0.187 273.2)
XYZxyz(30.9696, 25.0118, 95.2723)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7EFC #FCE86A
analogous
#6AC7FC #6A7EFC #9F6AFC
triadic
#6A7EFC #FC6A7E #7EFC6A
tetradic
#6A7EFC #FC6AC7 #FCE86A #6AFC9F
square
#6A7EFC #FC6AC7 #FCE86A #6AFC9F
split-complementary
#6A7EFC #FC9F6A #C7FC6A
monochromatic
#0524E7 #2E4AFB #6A7EFC #A6B2FD #E1E5FE

Accessibility & contrast

On white

3.50
#6A7EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#6A7EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7EFC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7EFC#FFFFFF#000000##000000
##6A7EFC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A90FF
Deuteranopia (green-blind)
#1A83F9
Tritanopia (blue-blind)
#009BB1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6a7efc;
/* rgb */ color: rgb(106, 126, 252);
/* oklch */ color: oklch(64.1% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#a0a3fe',
    500: '#6a7efc',
    950: '#000000',
  },
}
SCSS
$custom: #6a7efc;
$custom-light: #a0a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7efc",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 231.781,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64113,
    "c": 0.18707,
    "h": 273.2
  },
  "luminance": 0.25014
}

Semantic roles & 50–950 ramp

primary
#6A7EFC
secondary
#F5F0CD
accent
#C600E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6A7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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