#6A5EF0#6A5EF0

#6A5EF0 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.6% C 0.211 H 281.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6A5EF0
RGBrgb(106, 94, 240)
HSLhsl(245, 83%, 65%)
HSVhsv(245, 61%, 94%)
CMYKcmyk(55.8%, 60.8%, 0%, 5.9%)
CIE-LABlab(48.71, 44.27, -72.17)
CIE-LCHlch(48.71, 84.67, 301.53°)
OKLaboklab(57.62% 0.0409 -0.2073)
OKLCHoklch(57.62% 0.211 281.2)
XYZxyz(25.6698, 17.3592, 84.4192)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EF0 #E4F05E
analogous
#5E9BF0 #6A5EF0 #B35EF0
triadic
#6A5EF0 #F06A5E #5EF06A
tetradic
#6A5EF0 #F05E9B #E4F05E #5EF0B3
square
#6A5EF0 #F05E9B #E4F05E #5EF0B3
split-complementary
#6A5EF0 #F0B35E #9BF05E
monochromatic
#2012C2 #3626EB #6A5EF0 #9E96F5 #D2CEFA

Accessibility & contrast

On white

4.70
#6A5EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6A5EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EF0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EF0#FFFFFF#000000##FFFFFF
##6A5EF01.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#23829E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5ef0;
/* rgb */ color: rgb(106, 94, 240);
/* oklch */ color: oklch(57.6% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#a08cf6',
    500: '#6a5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ef0;
$custom-light: #a08cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ef0",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 244.932,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.21128,
    "h": 281.2
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#6A5EF0
secondary
#E9EDBC
accent
#DF06CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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