#6178EB#6178EB

#6178EB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.174 H 271.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6178EB
RGBrgb(97, 120, 235)
HSLhsl(230, 78%, 65%)
HSVhsv(230, 59%, 92%)
CMYKcmyk(58.7%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.00, 25.50, -60.85)
CIE-LCHlch(54.00, 65.98, 292.74°)
OKLaboklab(61.3% 0.0056 -0.174)
OKLCHoklch(61.3% 0.174 271.8)
XYZxyz(26.6367, 21.9704, 81.4182)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178EB #EBD461
analogous
#61BDEB #6178EB #8F61EB
triadic
#6178EB #EB6178 #78EB61
tetradic
#6178EB #EB61BD #EBD461 #61EB8F
square
#6178EB #EB61BD #EBD461 #61EB8F
split-complementary
#6178EB #EB8F61 #BDEB61
monochromatic
#1833BA #2B4AE4 #6178EB #97A6F2 #CED5F9

Accessibility & contrast

On white

3.89
#6178EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6178EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178EB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178EB#FFFFFF#000000##000000
##6178EB1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6178eb;
/* rgb */ color: rgb(97, 120, 235);
/* oklch */ color: oklch(61.3% 0.174 271.8);
Tailwind
colors: {
  custom: {
    50: '#999ef2',
    500: '#6178eb',
    950: '#000000',
  },
}
SCSS
$custom: #6178eb;
$custom-light: #999ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6178eb",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 230,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.1741,
    "h": 271.8
  },
  "luminance": 0.21972
}

Semantic roles & 50–950 ramp

primary
#6178EB
secondary
#EBE3BD
accent
#B70CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178EB

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

Preview Lab → · Contrast checker → · Palette generator →

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