#6A7FCE#6A7FCE

#6A7FCE is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.122 H 271.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6A7FCE
RGBrgb(106, 127, 206)
HSLhsl(227, 51%, 61%)
HSVhsv(227, 49%, 81%)
CMYKcmyk(48.5%, 38.3%, 0%, 19.2%)
CIE-LABlab(54.76, 13.95, -43.29)
CIE-LCHlch(54.76, 45.48, 287.86°)
OKLaboklab(61.5% 0.0025 -0.1223)
OKLCHoklch(61.5% 0.122 271.2)
XYZxyz(24.6703, 22.6976, 61.4617)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7FCE #CEB96A
analogous
#6AB1CE #6A7FCE #876ACE
triadic
#6A7FCE #CE6A7F #7FCE6A
tetradic
#6A7FCE #CE6AB1 #CEB96A #6ACE87
square
#6A7FCE #CE6AB1 #CEB96A #6ACE87
split-complementary
#6A7FCE #CE876A #B1CE6A
monochromatic
#2F438F #3E59BD #6A7FCE #98A7DD #C6CEEC

Accessibility & contrast

On white

3.79
#6A7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6A7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7FCE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7FCE#FFFFFF#000000##000000
##6A7FCE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#42909D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a7fce;
/* rgb */ color: rgb(106, 127, 206);
/* oklch */ color: oklch(61.5% 0.122 271.2);
Tailwind
colors: {
  custom: {
    50: '#9aa3dd',
    500: '#6a7fce',
    950: '#000000',
  },
}
SCSS
$custom: #6a7fce;
$custom-light: #9aa3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7fce",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 227.4,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.12229,
    "h": 271.2
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#6A7FCE
secondary
#DDD5B7
accent
#9E28BE
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6A7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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