#6A74EF#6A74EF

#6A74EF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.4% C 0.182 H 276.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6A74EF
RGBrgb(106, 116, 239)
HSLhsl(235, 81%, 68%)
HSVhsv(235, 56%, 94%)
CMYKcmyk(55.6%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.80, 30.90, -63.37)
CIE-LCHlch(53.80, 70.50, 296.00°)
OKLaboklab(61.38% 0.0194 -0.1812)
OKLCHoklch(61.38% 0.182 276.1)
XYZxyz(27.7642, 21.7850, 84.3865)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A74EF #EFE56A
analogous
#6AB6EF #6A74EF #A36AEF
triadic
#6A74EF #EF6A74 #74EF6A
tetradic
#6A74EF #EF6AB6 #EFE56A #6AEFA3
square
#6A74EF #EF6AB6 #EFE56A #6AEFA3
split-complementary
#6A74EF #EFA36A #B6EF6A
monochromatic
#1623C9 #3340E9 #6A74EF #A1A8F5 #D9DBFB

Accessibility & contrast

On white

3.92
#6A74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6A74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A74EF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A74EF#FFFFFF#000000##000000
##6A74EF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#137BEC
Tritanopia (blue-blind)
#1E90A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6a74ef;
/* rgb */ color: rgb(106, 116, 239);
/* oklch */ color: oklch(61.4% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#9e9bf5',
    500: '#6a74ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a74ef;
$custom-light: #9e9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a74ef",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 235.489,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.18229,
    "h": 276.1
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#6A74EF
secondary
#EFECC6
accent
#CD09DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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