#6178DF#6178DF

#6178DF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.158 H 271.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6178DF
RGBrgb(97, 120, 223)
HSLhsl(229, 66%, 63%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(56.5%, 46.2%, 0%, 12.5%)
CIE-LABlab(53.28, 21.59, -55.28)
CIE-LCHlch(53.28, 59.34, 291.33°)
OKLaboklab(60.52% 0.0041 -0.1576)
OKLCHoklch(60.52% 0.158 271.5)
XYZxyz(24.9611, 21.3002, 72.5937)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178DF #DFC861
analogous
#61B7DF #6178DF #8961DF
triadic
#6178DF #DF6178 #78DF61
tetradic
#6178DF #DF61B7 #DFC861 #61DF89
square
#6178DF #DF61B7 #DFC861 #61DF89
split-complementary
#6178DF #DF8961 #B7DF61
monochromatic
#2139A4 #2E4DD5 #6178DF #94A3E9 #C7CFF4

Accessibility & contrast

On white

3.99
#6178DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6178DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178DF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178DF#FFFFFF#000000##000000
##6178DF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#0C8FA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6178df;
/* rgb */ color: rgb(97, 120, 223);
/* oklch */ color: oklch(60.5% 0.158 271.5);
Tailwind
colors: {
  custom: {
    50: '#979ee9',
    500: '#6178df',
    950: '#000000',
  },
}
SCSS
$custom: #6178df;
$custom-light: #979ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6178df",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 229.048,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60521,
    "c": 0.15768,
    "h": 271.5
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

primary
#6178DF
secondary
#E5DCB7
accent
#AD17CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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