#6A78DA#6A78DA

#6A78DA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.148 H 275.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6A78DA
RGBrgb(106, 120, 218)
HSLhsl(233, 60%, 64%)
HSVhsv(233, 51%, 85%)
CMYKcmyk(51.4%, 45%, 0%, 14.5%)
CIE-LABlab(53.55, 21.88, -51.99)
CIE-LCHlch(53.55, 56.40, 292.83°)
OKLaboklab(60.79% 0.0129 -0.1478)
OKLCHoklch(60.79% 0.148 275)
XYZxyz(25.3112, 21.5575, 69.1433)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78DA #DACC6A
analogous
#6AB0DA #6A78DA #946ADA
triadic
#6A78DA #DA6A78 #78DA6A
tetradic
#6A78DA #DA6AB0 #DACC6A #6ADA94
square
#6A78DA #DA6AB0 #DACC6A #6ADA94
split-complementary
#6A78DA #DA946A #B0DA6A
monochromatic
#2837A1 #394CCE #6A78DA #9BA4E6 #CCD1F2

Accessibility & contrast

On white

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

On black

5.31
#6A78DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78DA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78DA#FFFFFF#000000##000000
##6A78DA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#398D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a78da;
/* rgb */ color: rgb(106, 120, 218);
/* oklch */ color: oklch(60.8% 0.148 275.0);
Tailwind
colors: {
  custom: {
    50: '#9c9ee6',
    500: '#6a78da',
    950: '#000000',
  },
}
SCSS
$custom: #6a78da;
$custom-light: #9c9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78da",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 232.5,
    "s": 60.215,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.14832,
    "h": 275
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#6A78DA
secondary
#E4DFBC
accent
#B31EC8
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6A78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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