#6178A4#6178A4

#6178A4 is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.2% C 0.074 H 263.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6178A4
RGBrgb(97, 120, 164)
HSLhsl(219, 27%, 51%)
HSVhsv(219, 41%, 64%)
CMYKcmyk(40.9%, 26.8%, 0%, 35.7%)
CIE-LABlab(50.28, 3.27, -26.23)
CIE-LCHlch(50.28, 26.43, 277.10°)
OKLaboklab(57.23% -0.009 -0.073)
OKLCHoklch(57.23% 0.074 263)
XYZxyz(18.3450, 18.6537, 37.7487)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178A4 #A48D61
analogous
#6199A4 #6178A4 #6B61A4
triadic
#6178A4 #A46178 #78A461
tetradic
#6178A4 #A46199 #A48D61 #61A46B
square
#6178A4 #A46199 #A48D61 #61A46B
split-complementary
#6178A4 #A46B61 #99A461
monochromatic
#333F58 #495B7F #6178A4 #8899BA #AFBAD1

Accessibility & contrast

On white

4.44
#6178A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6178A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178A4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178A4#FFFFFF#000000##000000
##6178A41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA6
Deuteranopia (green-blind)
#6275A3
Tritanopia (blue-blind)
#4A8187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6178a4;
/* rgb */ color: rgb(97, 120, 164);
/* oklch */ color: oklch(57.2% 0.074 263.0);
Tailwind
colors: {
  custom: {
    50: '#909ebf',
    500: '#6178a4',
    950: '#000000',
  },
}
SCSS
$custom: #6178a4;
$custom-light: #909ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#6178a4",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 164
  },
  "hsl": {
    "h": 219.403,
    "s": 26.908,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.07358,
    "h": 263
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#6178A4
secondary
#BFB5A2
accent
#A365C3
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6178A4

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

Preview Lab → · Contrast checker → · Palette generator →

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