#6A7DFA#6A7DFA

#6A7DFA is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.8% C 0.186 H 273.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6A7DFA
RGBrgb(106, 125, 250)
HSLhsl(232, 94%, 70%)
HSVhsv(232, 58%, 98%)
CMYKcmyk(57.6%, 50%, 0%, 2%)
CIE-LABlab(56.71, 28.99, -64.78)
CIE-LCHlch(56.71, 70.97, 294.11°)
OKLaboklab(63.79% 0.0112 -0.1853)
OKLCHoklch(63.79% 0.186 273.5)
XYZxyz(30.5271, 24.6312, 93.5696)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7DFA #FAE76A
analogous
#6AC5FA #6A7DFA #9F6AFA
triadic
#6A7DFA #FA6A7D #7DFA6A
tetradic
#6A7DFA #FA6AC5 #FAE76A #6AFA9F
square
#6A7DFA #FA6AC5 #FAE76A #6AFA9F
split-complementary
#6A7DFA #FA9F6A #C5FA6A
monochromatic
#0824E2 #2F49F8 #6A7DFA #A5B1FC #E0E4FE

Accessibility & contrast

On white

3.54
#6A7DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6A7DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7DFA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7DFA#FFFFFF#000000##000000
##6A7DFA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFE
Deuteranopia (green-blind)
#1C82F7
Tritanopia (blue-blind)
#0099B0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a7dfa;
/* rgb */ color: rgb(106, 125, 250);
/* oklch */ color: oklch(63.8% 0.186 273.5);
Tailwind
colors: {
  custom: {
    50: '#a0a2fd',
    500: '#6a7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #6a7dfa;
$custom-light: #a0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7dfa",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 232.083,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63792,
    "c": 0.18564,
    "h": 273.5
  },
  "luminance": 0.24634
}

Semantic roles & 50–950 ramp

primary
#6A7DFA
secondary
#F4EFCC
accent
#C700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #6A7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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