#6A6FEE#6A6FEE

#6A6FEE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.187 H 277.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6A6FEE
RGBrgb(106, 111, 238)
HSLhsl(238, 80%, 67%)
HSVhsv(238, 55%, 93%)
CMYKcmyk(55.5%, 53.4%, 0%, 6.7%)
CIE-LABlab(52.51, 33.59, -64.88)
CIE-LCHlch(52.51, 73.06, 297.37°)
OKLaboklab(60.39% 0.0245 -0.1857)
OKLCHoklch(60.39% 0.187 277.5)
XYZxyz(27.0560, 20.6043, 83.4236)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6FEE #EEE96A
analogous
#6AB1EE #6A6FEE #A76AEE
triadic
#6A6FEE #EE6A6F #6FEE6A
tetradic
#6A6FEE #EE6AB1 #EEE96A #6AEEA7
square
#6A6FEE #EE6AB1 #EEE96A #6AEEA7
split-complementary
#6A6FEE #EEA76A #B1EE6A
monochromatic
#171DC7 #333AE8 #6A6FEE #A1A4F4 #D8D9FB

Accessibility & contrast

On white

4.10
#6A6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#6A6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6FEE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6FEE#FFFFFF#000000##000000
##6A6FEE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#228CA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a6fee;
/* rgb */ color: rgb(106, 111, 238);
/* oklch */ color: oklch(60.4% 0.187 277.5);
Tailwind
colors: {
  custom: {
    50: '#9f98f4',
    500: '#6a6fee',
    950: '#000000',
  },
}
SCSS
$custom: #6a6fee;
$custom-light: #9f98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6fee",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 237.727,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.18735,
    "h": 277.5
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#6A6FEE
secondary
#EFEDC5
accent
#D40ADC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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