#6A7EF8#6A7EF8

#6A7EF8 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.8% C 0.182 H 273.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6A7EF8
RGBrgb(106, 126, 248)
HSLhsl(232, 91%, 69%)
HSVhsv(232, 57%, 97%)
CMYKcmyk(57.3%, 49.2%, 0%, 2.7%)
CIE-LABlab(56.84, 27.75, -63.47)
CIE-LCHlch(56.84, 69.27, 293.62°)
OKLaboklab(63.85% 0.0101 -0.1814)
OKLCHoklch(63.85% 0.182 273.2)
XYZxyz(30.3424, 24.7609, 91.9691)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7EF8 #F8E46A
analogous
#6AC5F8 #6A7EF8 #9D6AF8
triadic
#6A7EF8 #F86A7E #7EF86A
tetradic
#6A7EF8 #F86AC5 #F8E46A #6AF89D
square
#6A7EF8 #F86AC5 #F8E46A #6AF89D
split-complementary
#6A7EF8 #F89D6A #C5F86A
monochromatic
#0A28DD #304BF5 #6A7EF8 #A4B1FB #DFE3FD

Accessibility & contrast

On white

3.53
#6A7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6A7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7EF8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7EF8#FFFFFF#000000##000000
##6A7EF81.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFC
Deuteranopia (green-blind)
#2583F5
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a7ef8;
/* rgb */ color: rgb(106, 126, 248);
/* oklch */ color: oklch(63.8% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#9fa3fb',
    500: '#6a7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #6a7ef8;
$custom-light: #9fa3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7ef8",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 231.549,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.18172,
    "h": 273.2
  },
  "luminance": 0.24763
}

Semantic roles & 50–950 ramp

primary
#6A7EF8
secondary
#F3EECA
accent
#C500E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6A7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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