#6A74EC#6A74EC

#6A74EC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.178 H 276.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A74EC
RGBrgb(106, 116, 236)
HSLhsl(235, 77%, 67%)
HSVhsv(235, 55%, 93%)
CMYKcmyk(55.1%, 50.8%, 0%, 7.5%)
CIE-LABlab(53.61, 29.95, -62.00)
CIE-LCHlch(53.61, 68.85, 295.79°)
OKLaboklab(61.17% 0.0192 -0.1772)
OKLCHoklch(61.17% 0.178 276.2)
XYZxyz(27.3247, 21.6092, 82.0717)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A74EC #ECE26A
analogous
#6AB5EC #6A74EC #A16AEC
triadic
#6A74EC #EC6A74 #74EC6A
tetradic
#6A74EC #EC6AB5 #ECE26A #6AECA1
square
#6A74EC #EC6AB5 #ECE26A #6AECA1
split-complementary
#6A74EC #ECA16A #B5EC6A
monochromatic
#1926C3 #3441E5 #6A74EC #A0A7F3 #D7D9FA

Accessibility & contrast

On white

3.95
#6A74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6A74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A74EC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A74EC#FFFFFF#000000##000000
##6A74EC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#248FA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a74ec;
/* rgb */ color: rgb(106, 116, 236);
/* oklch */ color: oklch(61.2% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#9e9bf3',
    500: '#6a74ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a74ec;
$custom-light: #9e9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a74ec",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 235.385,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.17826,
    "h": 276.2
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#6A74EC
secondary
#EEEAC4
accent
#CA0CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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