#6A78CC#6A78CC

#6A78CC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.129 H 274.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6A78CC
RGBrgb(106, 120, 204)
HSLhsl(231, 49%, 61%)
HSVhsv(231, 48%, 80%)
CMYKcmyk(48%, 41.2%, 0%, 20%)
CIE-LABlab(52.79, 17.56, -45.27)
CIE-LCHlch(52.79, 48.56, 291.20°)
OKLaboklab(59.96% 0.0106 -0.1281)
OKLCHoklch(59.96% 0.129 274.7)
XYZxyz(23.5560, 20.8554, 59.8993)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78CC #CCBE6A
analogous
#6AA9CC #6A78CC #8D6ACC
triadic
#6A78CC #CC6A78 #78CC6A
tetradic
#6A78CC #CC6AA9 #CCBE6A #6ACC8D
square
#6A78CC #CC6AA9 #CCBE6A #6ACC8D
split-complementary
#6A78CC #CC8D6A #A9CC6A
monochromatic
#303D8C #3F51B9 #6A78CC #98A1DC #C5CBEB

Accessibility & contrast

On white

4.06
#6A78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6A78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78CC#FFFFFF#000000##000000
##6A78CC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#448A98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a78cc;
/* rgb */ color: rgb(106, 120, 204);
/* oklch */ color: oklch(60.0% 0.129 274.7);
Tailwind
colors: {
  custom: {
    50: '#9a9edc',
    500: '#6a78cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a78cc;
$custom-light: #9a9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78cc",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 231.429,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.12853,
    "h": 274.7
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#6A78CC
secondary
#DBD6B6
accent
#A729BC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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