#6A78CD#6A78CD

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

Color values

HEX#6A78CD
RGBrgb(106, 120, 205)
HSLhsl(232, 50%, 61%)
HSVhsv(232, 48%, 80%)
CMYKcmyk(48.3%, 41.5%, 0%, 19.6%)
CIE-LABlab(52.84, 17.86, -45.76)
CIE-LCHlch(52.84, 49.12, 291.32°)
OKLaboklab(60.01% 0.0107 -0.1295)
OKLCHoklch(60.01% 0.13 274.7)
XYZxyz(23.6763, 20.9035, 60.5330)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78CD #CDBF6A
analogous
#6AA9CD #6A78CD #8D6ACD
triadic
#6A78CD #CD6A78 #78CD6A
tetradic
#6A78CD #CD6AA9 #CDBF6A #6ACD8D
square
#6A78CD #CD6AA9 #CDBF6A #6ACD8D
split-complementary
#6A78CD #CD8D6A #A9CD6A
monochromatic
#2F3D8D #3F50BB #6A78CD #98A2DC #C6CBEC

Accessibility & contrast

On white

4.05
#6A78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6A78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78CD#FFFFFF#000000##000000
##6A78CD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a78cd;
/* rgb */ color: rgb(106, 120, 205);
/* oklch */ color: oklch(60.0% 0.130 274.7);
Tailwind
colors: {
  custom: {
    50: '#9a9edd',
    500: '#6a78cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a78cd;
$custom-light: #9a9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78cd",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 231.515,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.12996,
    "h": 274.7
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#6A78CD
secondary
#DCD7B7
accent
#A828BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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