#6C78EA#6C78EA

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

Color values

HEX#6C78EA
RGBrgb(108, 120, 234)
HSLhsl(234, 75%, 67%)
HSVhsv(234, 54%, 92%)
CMYKcmyk(53.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(54.62, 27.31, -59.26)
CIE-LCHlch(54.62, 65.25, 294.74°)
OKLaboklab(61.93% 0.017 -0.1691)
OKLCHoklch(61.93% 0.17 275.7)
XYZxyz(27.7473, 22.5597, 80.7183)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C78EA #EADE6C
analogous
#6CB7EA #6C78EA #9F6CEA
triadic
#6C78EA #EA6C78 #78EA6C
tetradic
#6C78EA #EA6CB7 #EADE6C #6CEA9F
square
#6C78EA #EA6CB7 #EADE6C #6CEA9F
split-complementary
#6C78EA #EA9F6C #B7EA6C
monochromatic
#1B2BC0 #3647E2 #6C78EA #A2A9F2 #D7DAF9

Accessibility & contrast

On white

3.81
#6C78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6C78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C78EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C78EA#FFFFFF#000000##000000
##6C78EA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#2D91A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c78ea;
/* rgb */ color: rgb(108, 120, 234);
/* oklch */ color: oklch(61.9% 0.170 275.7);
Tailwind
colors: {
  custom: {
    50: '#9f9ef1',
    500: '#6c78ea',
    950: '#000000',
  },
}
SCSS
$custom: #6c78ea;
$custom-light: #9f9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c78ea",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 234.286,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.16992,
    "h": 275.7
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#6C78EA
secondary
#EDE9C5
accent
#C40ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6C78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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