#6178E1#6178E1

#6178E1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.160 H 271.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6178E1
RGBrgb(97, 120, 225)
HSLhsl(229, 68%, 63%)
HSVhsv(229, 57%, 88%)
CMYKcmyk(56.9%, 46.7%, 0%, 11.8%)
CIE-LABlab(53.39, 22.24, -56.21)
CIE-LCHlch(53.39, 60.45, 291.58°)
OKLaboklab(60.65% 0.0044 -0.1604)
OKLCHoklch(60.65% 0.16 271.6)
XYZxyz(25.2324, 21.4087, 74.0222)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178E1 #E1CA61
analogous
#61B8E1 #6178E1 #8A61E1
triadic
#6178E1 #E16178 #78E161
tetradic
#6178E1 #E161B8 #E1CA61 #61E18A
square
#6178E1 #E161B8 #E1CA61 #61E18A
split-complementary
#6178E1 #E18A61 #B8E161
monochromatic
#2038A8 #2E4CD7 #6178E1 #94A4EB #C8D0F5

Accessibility & contrast

On white

3.98
#6178E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6178E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178E1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178E1#FFFFFF#000000##000000
##6178E11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4685E5
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#038FA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6178e1;
/* rgb */ color: rgb(97, 120, 225);
/* oklch */ color: oklch(60.6% 0.160 271.6);
Tailwind
colors: {
  custom: {
    50: '#979eeb',
    500: '#6178e1',
    950: '#000000',
  },
}
SCSS
$custom: #6178e1;
$custom-light: #979eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#6178e1",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 225
  },
  "hsl": {
    "h": 229.219,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.16044,
    "h": 271.6
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#6178E1
secondary
#E6DEB8
accent
#AE15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6178E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6178E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva