#6B7FAC#6B7FAC

#6B7FAC is a mid, moderate blue. Relative luminance 0.213; OKLCH L 59.8% C 0.073 H 265.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6B7FAC
RGBrgb(107, 127, 172)
HSLhsl(222, 28%, 55%)
HSVhsv(222, 38%, 67%)
CMYKcmyk(37.8%, 26.2%, 0%, 32.5%)
CIE-LABlab(53.26, 4.21, -26.20)
CIE-LCHlch(53.26, 26.54, 279.14°)
OKLaboklab(59.84% -0.0054 -0.0728)
OKLCHoklch(59.84% 0.073 265.7)
XYZxyz(21.0969, 21.2821, 42.0180)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7FAC #AC986B
analogous
#6BA0AC #6B7FAC #776BAC
triadic
#6B7FAC #AC6B7F #7FAC6B
tetradic
#6B7FAC #AC6BA0 #AC986B #6BAC77
square
#6B7FAC #AC6BA0 #AC986B #6BAC77
split-complementary
#6B7FAC #AC776B #A0AC6B
monochromatic
#384664 #4E618C #6B7FAC #92A1C2 #B9C3D8

Accessibility & contrast

On white

3.99
#6B7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6B7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B7FAC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7FAC#FFFFFF#000000##000000
##6B7FAC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AE
Deuteranopia (green-blind)
#697DAB
Tritanopia (blue-blind)
#57888F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b7fac;
/* rgb */ color: rgb(107, 127, 172);
/* oklch */ color: oklch(59.8% 0.073 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a4c5',
    500: '#6b7fac',
    950: '#000000',
  },
}
SCSS
$custom: #6b7fac;
$custom-light: #97a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7fac",
  "rgb": {
    "r": 107,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 221.538,
    "s": 28.139,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.073,
    "h": 265.7
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#6B7FAC
secondary
#C7BFAC
accent
#A763C4
background
#F9FAFC
surface
#F2F3F8
border
#CCCDD1
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #6B7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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