#6A78EF#6A78EF

#6A78EF is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.1% C 0.177 H 275.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6A78EF
RGBrgb(106, 120, 239)
HSLhsl(234, 81%, 68%)
HSVhsv(234, 56%, 94%)
CMYKcmyk(55.6%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.79, 28.49, -61.77)
CIE-LCHlch(54.79, 68.03, 294.76°)
OKLaboklab(62.12% 0.0153 -0.1765)
OKLCHoklch(62.12% 0.177 275)
XYZxyz(28.2353, 22.7271, 84.5435)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78EF #EFE16A
analogous
#6ABBEF #6A78EF #9E6AEF
triadic
#6A78EF #EF6A78 #78EF6A
tetradic
#6A78EF #EF6ABB #EFE16A #6AEF9E
square
#6A78EF #EF6ABB #EFE16A #6AEF9E
split-complementary
#6A78EF #EF9E6A #BBEF6A
monochromatic
#1628C9 #3346E9 #6A78EF #A1AAF5 #D9DCFB

Accessibility & contrast

On white

3.79
#6A78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6A78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78EF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78EF#FFFFFF#000000##000000
##6A78EF1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#247EEC
Tritanopia (blue-blind)
#1D93A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a78ef;
/* rgb */ color: rgb(106, 120, 239);
/* oklch */ color: oklch(62.1% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ef5',
    500: '#6a78ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a78ef;
$custom-light: #9e9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78ef",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 233.684,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.17718,
    "h": 275
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#6A78EF
secondary
#EFEBC6
accent
#C709DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6A78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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