#6A6EF2#6A6EF2

#6A6EF2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.5% C 0.194 H 277.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6A6EF2
RGBrgb(106, 110, 242)
HSLhsl(238, 84%, 68%)
HSVhsv(238, 56%, 95%)
CMYKcmyk(56.2%, 54.5%, 0%, 5.1%)
CIE-LABlab(52.54, 35.45, -67.08)
CIE-LCHlch(52.54, 75.87, 297.86°)
OKLaboklab(60.49% 0.0256 -0.1922)
OKLCHoklch(60.49% 0.194 277.6)
XYZxyz(27.5417, 20.6249, 86.5169)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EF2 #F2EE6A
analogous
#6AB2F2 #6A6EF2 #AA6AF2
triadic
#6A6EF2 #F26A6E #6EF26A
tetradic
#6A6EF2 #F26AB2 #F2EE6A #6AF2AA
square
#6A6EF2 #F26AB2 #F2EE6A #6AF2AA
split-complementary
#6A6EF2 #F2AA6A #B2F26A
monochromatic
#1218CF #3237ED #6A6EF2 #A2A5F7 #DBDCFC

Accessibility & contrast

On white

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

On black

5.13
#6A6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EF2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EF2#FFFFFF#000000##000000
##6A6EF21.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#1A8DA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a6ef2;
/* rgb */ color: rgb(106, 110, 242);
/* oklch */ color: oklch(60.5% 0.194 277.6);
Tailwind
colors: {
  custom: {
    50: '#9f97f7',
    500: '#6a6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ef2;
$custom-light: #9f97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ef2",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 238.235,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.19391,
    "h": 277.6
  },
  "luminance": 0.20627
}

Semantic roles & 50–950 ramp

primary
#6A6EF2
secondary
#F1EFC7
accent
#DA05E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6A6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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