#6A6EF5#6A6EF5

#6A6EF5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.7% C 0.198 H 277.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A6EF5
RGBrgb(106, 110, 245)
HSLhsl(238, 87%, 69%)
HSVhsv(238, 57%, 96%)
CMYKcmyk(56.7%, 55.1%, 0%, 3.9%)
CIE-LABlab(52.74, 36.40, -68.42)
CIE-LCHlch(52.74, 77.50, 298.01°)
OKLaboklab(60.71% 0.0257 -0.1962)
OKLCHoklch(60.71% 0.198 277.5)
XYZxyz(27.9960, 20.8066, 88.9093)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EF5 #F5F16A
analogous
#6AB4F5 #6A6EF5 #AC6AF5
triadic
#6A6EF5 #F56A6E #6EF56A
tetradic
#6A6EF5 #F56AB4 #F5F16A #6AF5AC
square
#6A6EF5 #F56AB4 #F5F16A #6AF5AC
split-complementary
#6A6EF5 #F5AC6A #B4F56A
monochromatic
#0E14D6 #3136F1 #6A6EF5 #A3A6F9 #DDDEFD

Accessibility & contrast

On white

4.07
#6A6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6A6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EF5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EF5#FFFFFF#000000##000000
##6A6EF51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#118EA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a6ef5;
/* rgb */ color: rgb(106, 110, 245);
/* oklch */ color: oklch(60.7% 0.198 277.5);
Tailwind
colors: {
  custom: {
    50: '#a097f9',
    500: '#6a6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ef5;
$custom-light: #a097f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ef5",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 238.273,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.19784,
    "h": 277.5
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

primary
#6A6EF5
secondary
#F2F1C9
accent
#DD02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6A6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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