#6B7AFC#6B7AFC

#6B7AFC is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.4% C 0.192 H 274.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6B7AFC
RGBrgb(107, 122, 252)
HSLhsl(234, 96%, 70%)
HSVhsv(234, 58%, 99%)
CMYKcmyk(57.5%, 51.6%, 0%, 1.2%)
CIE-LABlab(56.16, 31.61, -66.77)
CIE-LCHlch(56.16, 73.88, 295.33°)
OKLaboklab(63.43% 0.0154 -0.1912)
OKLCHoklch(63.43% 0.192 274.6)
XYZxyz(30.5879, 24.0708, 95.1109)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7AFC #FCED6B
analogous
#6BC2FC #6B7AFC #A46BFC
triadic
#6B7AFC #FC6B7A #7AFC6B
tetradic
#6B7AFC #FC6BC2 #FCED6B #6BFCA4
square
#6B7AFC #FC6BC2 #FCED6B #6BFCA4
split-complementary
#6B7AFC #FCA46B #C2FC6B
monochromatic
#051CE8 #2F44FB #6B7AFC #A7B0FD #E1E4FE

Accessibility & contrast

On white

3.61
#6B7AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#6B7AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B7AFC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7AFC#FFFFFF#000000##000000
##6B7AFC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#0081F9
Tritanopia (blue-blind)
#0098AF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6b7afc;
/* rgb */ color: rgb(107, 122, 252);
/* oklch */ color: oklch(63.4% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#a1a0fe',
    500: '#6b7afc',
    950: '#000000',
  },
}
SCSS
$custom: #6b7afc;
$custom-light: #a1a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7afc",
  "rgb": {
    "r": 107,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 233.793,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.1918,
    "h": 274.6
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#6B7AFC
secondary
#F5F1CE
accent
#CE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6B7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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