#6A6FEB#6A6FEB

#6A6FEB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.183 H 277.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6A6FEB
RGBrgb(106, 111, 235)
HSLhsl(238, 76%, 67%)
HSVhsv(238, 55%, 92%)
CMYKcmyk(54.9%, 52.8%, 0%, 7.8%)
CIE-LABlab(52.32, 32.65, -63.52)
CIE-LCHlch(52.32, 71.42, 297.20°)
OKLaboklab(60.19% 0.0243 -0.1817)
OKLCHoklch(60.19% 0.183 277.6)
XYZxyz(26.6189, 20.4294, 81.1217)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6FEB #EBE66A
analogous
#6AB0EB #6A6FEB #A56AEB
triadic
#6A6FEB #EB6A6F #6FEB6A
tetradic
#6A6FEB #EB6AB0 #EBE66A #6AEBA5
square
#6A6FEB #EB6AB0 #EBE66A #6AEBA5
split-complementary
#6A6FEB #EBA56A #B0EB6A
monochromatic
#1A20C1 #343BE4 #6A6FEB #A0A3F2 #D6D7F9

Accessibility & contrast

On white

4.13
#6A6FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6A6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6FEB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6FEB#FFFFFF#000000##000000
##6A6FEB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EF
Deuteranopia (green-blind)
#0178E8
Tritanopia (blue-blind)
#278BA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a6feb;
/* rgb */ color: rgb(106, 111, 235);
/* oklch */ color: oklch(60.2% 0.183 277.6);
Tailwind
colors: {
  custom: {
    50: '#9e98f2',
    500: '#6a6feb',
    950: '#000000',
  },
}
SCSS
$custom: #6a6feb;
$custom-light: #9e98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6feb",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 237.674,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.18335,
    "h": 277.6
  },
  "luminance": 0.20431
}

Semantic roles & 50–950 ramp

primary
#6A6FEB
secondary
#EDEBC4
accent
#D10DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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