#6178EF#6178EF

#6178EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.179 H 271.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6178EF
RGBrgb(97, 120, 239)
HSLhsl(230, 82%, 66%)
HSVhsv(230, 59%, 94%)
CMYKcmyk(59.4%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.24, 26.81, -62.68)
CIE-LCHlch(54.24, 68.17, 293.16°)
OKLaboklab(61.57% 0.006 -0.1794)
OKLCHoklch(61.57% 0.18 271.9)
XYZxyz(27.2211, 22.2041, 84.4960)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178EF #EFD861
analogous
#61BFEF #6178EF #9161EF
triadic
#6178EF #EF6178 #78EF61
tetradic
#6178EF #EF61BF #EFD861 #61EF91
square
#6178EF #EF61BF #EFD861 #61EF91
split-complementary
#6178EF #EF9161 #BFEF61
monochromatic
#1430C2 #2949E9 #6178EF #99A7F5 #D0D7FA

Accessibility & contrast

On white

3.86
#6178EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6178EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178EF#FFFFFF#000000##000000
##6178EF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#177CED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6178ef;
/* rgb */ color: rgb(97, 120, 239);
/* oklch */ color: oklch(61.6% 0.179 271.9);
Tailwind
colors: {
  custom: {
    50: '#9a9ef5',
    500: '#6178ef',
    950: '#000000',
  },
}
SCSS
$custom: #6178ef;
$custom-light: #9a9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6178ef",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 230.282,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.1795,
    "h": 271.9
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#6178EF
secondary
#EDE6BE
accent
#BB08DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178EF

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

Preview Lab → · Contrast checker → · Palette generator →

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