#6D78EA#6D78EA

#6D78EA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 62.0% C 0.170 H 276.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6D78EA
RGBrgb(109, 120, 234)
HSLhsl(235, 75%, 67%)
HSVhsv(235, 53%, 92%)
CMYKcmyk(53.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(54.68, 27.51, -59.15)
CIE-LCHlch(54.68, 65.23, 294.95°)
OKLaboklab(61.99% 0.0181 -0.1687)
OKLCHoklch(61.99% 0.17 276.1)
XYZxyz(27.8697, 22.6228, 80.7240)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D78EA #EADF6D
analogous
#6DB7EA #6D78EA #A16DEA
triadic
#6D78EA #EA6D78 #78EA6D
tetradic
#6D78EA #EA6DB7 #EADF6D #6DEAA1
square
#6D78EA #EA6DB7 #EADF6D #6DEAA1
split-complementary
#6D78EA #EAA16D #B7EA6D
monochromatic
#1C2AC1 #3747E2 #6D78EA #A3A9F2 #D8DBF9

Accessibility & contrast

On white

3.80
#6D78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6D78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D78EA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D78EA#FFFFFF#000000##000000
##6D78EA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#3191A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6d78ea;
/* rgb */ color: rgb(109, 120, 234);
/* oklch */ color: oklch(62.0% 0.170 276.1);
Tailwind
colors: {
  custom: {
    50: '#9f9ef1',
    500: '#6d78ea',
    950: '#000000',
  },
}
SCSS
$custom: #6d78ea;
$custom-light: #9f9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d78ea",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 234.72,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.1697,
    "h": 276.1
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

primary
#6D78EA
secondary
#EDEAC6
accent
#C50ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6D78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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