#6A7DEF#6A7DEF

#6A7DEF is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.1% C 0.171 H 273.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6A7DEF
RGBrgb(106, 125, 239)
HSLhsl(231, 81%, 68%)
HSVhsv(231, 56%, 94%)
CMYKcmyk(55.6%, 47.7%, 0%, 6.3%)
CIE-LABlab(56.05, 25.48, -59.75)
CIE-LCHlch(56.05, 64.96, 293.09°)
OKLaboklab(63.08% 0.0101 -0.1705)
OKLCHoklch(63.08% 0.171 273.4)
XYZxyz(28.8524, 23.9613, 84.7492)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7DEF #EFDC6A
analogous
#6ABFEF #6A7DEF #9A6AEF
triadic
#6A7DEF #EF6A7D #7DEF6A
tetradic
#6A7DEF #EF6ABF #EFDC6A #6AEF9A
square
#6A7DEF #EF6ABF #EFDC6A #6AEF9A
split-complementary
#6A7DEF #EF9A6A #BFEF6A
monochromatic
#162FC9 #334DE9 #6A7DEF #A1ADF5 #D9DDFB

Accessibility & contrast

On white

3.63
#6A7DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#6A7DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7DEF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7DEF#FFFFFF#000000##000000
##6A7DEF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF3
Deuteranopia (green-blind)
#3381ED
Tritanopia (blue-blind)
#1B96AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6a7def;
/* rgb */ color: rgb(106, 125, 239);
/* oklch */ color: oklch(63.1% 0.171 273.4);
Tailwind
colors: {
  custom: {
    50: '#9ea2f5',
    500: '#6a7def',
    950: '#000000',
  },
}
SCSS
$custom: #6a7def;
$custom-light: #9ea2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7def",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 231.429,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.17082,
    "h": 273.4
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#6A7DEF
secondary
#EFE9C6
accent
#BF09DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #6A7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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