#6A78EB#6A78EB

#6A78EB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.172 H 275.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6A78EB
RGBrgb(106, 120, 235)
HSLhsl(233, 76%, 67%)
HSVhsv(233, 55%, 92%)
CMYKcmyk(54.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.55, 27.22, -59.93)
CIE-LCHlch(54.55, 65.83, 294.43°)
OKLaboklab(61.86% 0.015 -0.1711)
OKLCHoklch(61.86% 0.172 275)
XYZxyz(27.6509, 22.4933, 81.4657)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78EB #EBDD6A
analogous
#6AB9EB #6A78EB #9D6AEB
triadic
#6A78EB #EB6A78 #78EB6A
tetradic
#6A78EB #EB6AB9 #EBDD6A #6AEB9D
square
#6A78EB #EB6AB9 #EBDD6A #6AEB9D
split-complementary
#6A78EB #EB9D6A #B9EB6A
monochromatic
#1A2CC1 #3447E4 #6A78EB #A0A9F2 #D6DAF9

Accessibility & contrast

On white

3.82
#6A78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6A78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78EB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78EB#FFFFFF#000000##000000
##6A78EB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#2C7DE9
Tritanopia (blue-blind)
#2492A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a78eb;
/* rgb */ color: rgb(106, 120, 235);
/* oklch */ color: oklch(61.9% 0.172 275.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ef2',
    500: '#6a78eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a78eb;
$custom-light: #9e9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78eb",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 233.488,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.17176,
    "h": 275
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#6A78EB
secondary
#EDE9C4
accent
#C20DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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