#6A78F9#6A78F9

#6A78F9 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.8% C 0.191 H 274.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6A78F9
RGBrgb(106, 120, 249)
HSLhsl(234, 92%, 70%)
HSVhsv(234, 57%, 98%)
CMYKcmyk(57.4%, 51.8%, 0%, 2.4%)
CIE-LABlab(55.42, 31.67, -66.32)
CIE-LCHlch(55.42, 73.49, 295.53°)
OKLaboklab(62.79% 0.0161 -0.1899)
OKLCHoklch(62.79% 0.191 274.8)
XYZxyz(29.7537, 23.3345, 92.5403)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A78F9 #F9EB6A
analogous
#6AC0F9 #6A78F9 #A46AF9
triadic
#6A78F9 #F96A78 #78F96A
tetradic
#6A78F9 #F96AC0 #F9EB6A #6AF9A4
square
#6A78F9 #F96AC0 #F9EB6A #6AF9A4
split-complementary
#6A78F9 #F9A46A #C0F96A
monochromatic
#091EE0 #2F43F7 #6A78F9 #A5ADFB #E0E3FE

Accessibility & contrast

On white

3.71
#6A78F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#6A78F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A78F9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A78F9#FFFFFF#000000##000000
##6A78F91.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8BFE
Deuteranopia (green-blind)
#007FF6
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6a78f9;
/* rgb */ color: rgb(106, 120, 249);
/* oklch */ color: oklch(62.8% 0.191 274.8);
Tailwind
colors: {
  custom: {
    50: '#a09efc',
    500: '#6a78f9',
    950: '#000000',
  },
}
SCSS
$custom: #6a78f9;
$custom-light: #a09efc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a78f9",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 234.126,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62793,
    "c": 0.19056,
    "h": 274.8
  },
  "luminance": 0.23337
}

Semantic roles & 50–950 ramp

primary
#6A78F9
secondary
#F4F0CB
accent
#CF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6A78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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