#6A78CA#6A78CA

#6A78CA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.126 H 274.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6A78CA
RGBrgb(106, 120, 202)
HSLhsl(231, 48%, 60%)
HSVhsv(231, 48%, 79%)
CMYKcmyk(47.5%, 40.6%, 0%, 20.8%)
CIE-LABlab(52.69, 16.95, -44.30)
CIE-LCHlch(52.69, 47.43, 290.93°)
OKLaboklab(59.84% 0.0102 -0.1252)
OKLCHoklch(59.84% 0.126 274.6)
XYZxyz(23.3177, 20.7601, 58.6441)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78CA #CABC6A
analogous
#6AA8CA #6A78CA #8C6ACA
triadic
#6A78CA #CA6A78 #78CA6A
tetradic
#6A78CA #CA6AA8 #CABC6A #6ACA8C
square
#6A78CA #CA6AA8 #CABC6A #6ACA8C
split-complementary
#6A78CA #CA8C6A #A8CA6A
monochromatic
#313E89 #4152B6 #6A78CA #97A1DA #C4CAEA

Accessibility & contrast

On white

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

On black

5.15
#6A78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78CA#FFFFFF#000000##000000
##6A78CA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#468997
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a78ca;
/* rgb */ color: rgb(106, 120, 202);
/* oklch */ color: oklch(59.8% 0.126 274.6);
Tailwind
colors: {
  custom: {
    50: '#9a9eda',
    500: '#6a78ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a78ca;
$custom-light: #9a9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78ca",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 231.25,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.12566,
    "h": 274.6
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#6A78CA
secondary
#DAD5B6
accent
#A62BBB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6A78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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