#6A7DEC#6A7DEC

#6A7DEC is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.9% C 0.167 H 273.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6A7DEC
RGBrgb(106, 125, 236)
HSLhsl(231, 77%, 67%)
HSVhsv(231, 55%, 93%)
CMYKcmyk(55.1%, 47%, 0%, 7.5%)
CIE-LABlab(55.87, 24.53, -58.37)
CIE-LCHlch(55.87, 63.31, 292.79°)
OKLaboklab(62.88% 0.0098 -0.1664)
OKLCHoklch(62.88% 0.167 273.4)
XYZxyz(28.4129, 23.7855, 82.4344)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7DEC #ECD96A
analogous
#6ABEEC #6A7DEC #986AEC
triadic
#6A7DEC #EC6A7D #7DEC6A
tetradic
#6A7DEC #EC6ABE #ECD96A #6AEC98
square
#6A7DEC #EC6ABE #ECD96A #6AEC98
split-complementary
#6A7DEC #EC986A #BEEC6A
monochromatic
#1932C3 #344EE5 #6A7DEC #A0ACF3 #D7DCFA

Accessibility & contrast

On white

3.65
#6A7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#6A7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7DEC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7DEC#FFFFFF#000000##000000
##6A7DEC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#3781EA
Tritanopia (blue-blind)
#2196A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6a7dec;
/* rgb */ color: rgb(106, 125, 236);
/* oklch */ color: oklch(62.9% 0.167 273.4);
Tailwind
colors: {
  custom: {
    50: '#9ea2f3',
    500: '#6a7dec',
    950: '#000000',
  },
}
SCSS
$custom: #6a7dec;
$custom-light: #9ea2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7dec",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 231.231,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62884,
    "c": 0.16674,
    "h": 273.4
  },
  "luminance": 0.23788
}

Semantic roles & 50–950 ramp

primary
#6A7DEC
secondary
#EEE8C4
accent
#BC0CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #6A7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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