#6A7EF5#6A7EF5

#6A7EF5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.7% C 0.178 H 273.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6A7EF5
RGBrgb(106, 126, 245)
HSLhsl(231, 87%, 69%)
HSVhsv(231, 57%, 96%)
CMYKcmyk(56.7%, 48.6%, 0%, 3.9%)
CIE-LABlab(56.66, 26.79, -62.10)
CIE-LCHlch(56.66, 67.63, 293.34°)
OKLaboklab(63.65% 0.0098 -0.1774)
OKLCHoklch(63.65% 0.178 273.1)
XYZxyz(29.8808, 24.5762, 89.5376)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7EF5 #F5E16A
analogous
#6AC4F5 #6A7EF5 #9C6AF5
triadic
#6A7EF5 #F56A7E #7EF56A
tetradic
#6A7EF5 #F56AC4 #F5E16A #6AF59C
square
#6A7EF5 #F56AC4 #F5E16A #6AF59C
split-complementary
#6A7EF5 #F59C6A #C4F56A
monochromatic
#0E2BD6 #314CF1 #6A7EF5 #A3B0F9 #DDE1FD

Accessibility & contrast

On white

3.55
#6A7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#6A7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7EF5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7EF5#FFFFFF#000000##000000
##6A7EF51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#2B82F2
Tritanopia (blue-blind)
#0699AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a7ef5;
/* rgb */ color: rgb(106, 126, 245);
/* oklch */ color: oklch(63.7% 0.178 273.1);
Tailwind
colors: {
  custom: {
    50: '#9fa3f9',
    500: '#6a7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #6a7ef5;
$custom-light: #9fa3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7ef5",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 231.367,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.17769,
    "h": 273.1
  },
  "luminance": 0.24578
}

Semantic roles & 50–950 ramp

primary
#6A7EF5
secondary
#F2ECC9
accent
#C302E4
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6A7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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