#6A7EEF#6A7EEF

#6A7EEF is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.3% C 0.170 H 273.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6A7EEF
RGBrgb(106, 126, 239)
HSLhsl(231, 81%, 68%)
HSVhsv(231, 56%, 94%)
CMYKcmyk(55.6%, 47.3%, 0%, 6.3%)
CIE-LABlab(56.30, 24.88, -59.34)
CIE-LCHlch(56.30, 64.35, 292.74°)
OKLaboklab(63.27% 0.0091 -0.1693)
OKLCHoklch(63.27% 0.17 273.1)
XYZxyz(28.9796, 24.2158, 84.7916)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7EEF #EFDB6A
analogous
#6AC1EF #6A7EEF #986AEF
triadic
#6A7EEF #EF6A7E #7EEF6A
tetradic
#6A7EEF #EF6AC1 #EFDB6A #6AEF98
square
#6A7EEF #EF6AC1 #EFDB6A #6AEF98
split-complementary
#6A7EEF #EF986A #C1EF6A
monochromatic
#1631C9 #334EE9 #6A7EEF #A1AEF5 #D9DEFB

Accessibility & contrast

On white

3.59
#6A7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#6A7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7EEF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7EEF#FFFFFF#000000##000000
##6A7EEF1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#1A97AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6a7eef;
/* rgb */ color: rgb(106, 126, 239);
/* oklch */ color: oklch(63.3% 0.170 273.1);
Tailwind
colors: {
  custom: {
    50: '#9ea3f5',
    500: '#6a7eef',
    950: '#000000',
  },
}
SCSS
$custom: #6a7eef;
$custom-light: #9ea3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7eef",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 230.977,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.16956,
    "h": 273.1
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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