#6A7FFC#6A7FFC

#6A7FFC is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.3% C 0.186 H 272.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6A7FFC
RGBrgb(106, 127, 252)
HSLhsl(231, 96%, 70%)
HSVhsv(231, 58%, 99%)
CMYKcmyk(57.9%, 49.6%, 0%, 1.2%)
CIE-LABlab(57.34, 28.43, -64.88)
CIE-LCHlch(57.34, 70.84, 293.66°)
OKLaboklab(64.3% 0.0094 -0.1856)
OKLCHoklch(64.3% 0.186 272.9)
XYZxyz(31.0981, 25.2688, 95.3152)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7FFC #FCE76A
analogous
#6AC8FC #6A7FFC #9E6AFC
triadic
#6A7FFC #FC6A7F #7FFC6A
tetradic
#6A7FFC #FC6AC8 #FCE76A #6AFC9E
square
#6A7FFC #FC6AC8 #FCE76A #6AFC9E
split-complementary
#6A7FFC #FC9E6A #C8FC6A
monochromatic
#0525E7 #2E4BFB #6A7FFC #A6B3FD #E1E5FE

Accessibility & contrast

On white

3.47
#6A7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#6A7FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7FFC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7FFC#FFFFFF#000000##000000
##6A7FFC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#1F84F9
Tritanopia (blue-blind)
#009BB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a7ffc;
/* rgb */ color: rgb(106, 127, 252);
/* oklch */ color: oklch(64.3% 0.186 272.9);
Tailwind
colors: {
  custom: {
    50: '#a0a3fe',
    500: '#6a7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #6a7ffc;
$custom-light: #a0a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7ffc",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 231.37,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64301,
    "c": 0.18582,
    "h": 272.9
  },
  "luminance": 0.25271
}

Semantic roles & 50–950 ramp

primary
#6A7FFC
secondary
#F5EFCD
accent
#C400E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6A7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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