#6A7FEF#6A7FEF

#6A7FEF is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.5% C 0.168 H 272.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6A7FEF
RGBrgb(106, 127, 239)
HSLhsl(231, 81%, 68%)
HSVhsv(231, 56%, 94%)
CMYKcmyk(55.6%, 46.9%, 0%, 6.3%)
CIE-LABlab(56.56, 24.27, -58.94)
CIE-LCHlch(56.56, 63.74, 292.39°)
OKLaboklab(63.46% 0.008 -0.1681)
OKLCHoklch(63.46% 0.168 272.7)
XYZxyz(29.1081, 24.4728, 84.8345)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7FEF #EFDA6A
analogous
#6AC2EF #6A7FEF #976AEF
triadic
#6A7FEF #EF6A7F #7FEF6A
tetradic
#6A7FEF #EF6AC2 #EFDA6A #6AEF97
square
#6A7FEF #EF6AC2 #EFDA6A #6AEF97
split-complementary
#6A7FEF #EF976A #C2EF6A
monochromatic
#1632C9 #3350E9 #6A7FEF #A1AEF5 #D9DEFB

Accessibility & contrast

On white

3.56
#6A7FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#6A7FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7FEF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7FEF#FFFFFF#000000##000000
##6A7FEF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#3782ED
Tritanopia (blue-blind)
#1A98AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a7fef;
/* rgb */ color: rgb(106, 127, 239);
/* oklch */ color: oklch(63.5% 0.168 272.7);
Tailwind
colors: {
  custom: {
    50: '#9ea3f5',
    500: '#6a7fef',
    950: '#000000',
  },
}
SCSS
$custom: #6a7fef;
$custom-light: #9ea3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7fef",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 230.526,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.1683,
    "h": 272.7
  },
  "luminance": 0.24475
}

Semantic roles & 50–950 ramp

primary
#6A7FEF
secondary
#EFE9C6
accent
#BB09DD
background
#FAFAFF
surface
#F4F3FE
border
#CECDD6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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