#6A74DC#6A74DC

#6A74DC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.156 H 276.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6A74DC
RGBrgb(106, 116, 220)
HSLhsl(235, 62%, 64%)
HSVhsv(235, 52%, 86%)
CMYKcmyk(51.8%, 47.3%, 0%, 13.7%)
CIE-LABlab(52.64, 24.93, -54.57)
CIE-LCHlch(52.64, 59.99, 294.55°)
OKLaboklab(60.13% 0.0177 -0.1554)
OKLCHoklch(60.13% 0.156 276.5)
XYZxyz(25.1034, 20.7207, 70.3730)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A74DC #DCD26A
analogous
#6AADDC #6A74DC #996ADC
triadic
#6A74DC #DC6A74 #74DC6A
tetradic
#6A74DC #DC6AAD #DCD26A #6ADC99
square
#6A74DC #DC6AAD #DCD26A #6ADC99
split-complementary
#6A74DC #DC996A #ADDC6A
monochromatic
#2732A5 #3846D0 #6A74DC #9CA2E8 #CDD0F3

Accessibility & contrast

On white

4.08
#6A74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6A74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A74DC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A74DC#FFFFFF#000000##000000
##6A74DC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#388B9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a74dc;
/* rgb */ color: rgb(106, 116, 220);
/* oklch */ color: oklch(60.1% 0.156 276.5);
Tailwind
colors: {
  custom: {
    50: '#9c9be7',
    500: '#6a74dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a74dc;
$custom-light: #9c9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a74dc",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 234.737,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.15638,
    "h": 276.5
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#6A74DC
secondary
#E5E1BD
accent
#BA1CCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6A74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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