#6178AA#6178AA

#6178AA is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.5% C 0.082 H 265.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6178AA
RGBrgb(97, 120, 170)
HSLhsl(221, 30%, 52%)
HSVhsv(221, 43%, 67%)
CMYKcmyk(42.9%, 29.4%, 0%, 33.3%)
CIE-LABlab(50.54, 5.02, -29.31)
CIE-LCHlch(50.54, 29.74, 279.72°)
OKLaboklab(57.52% -0.0072 -0.0819)
OKLCHoklch(57.52% 0.082 265)
XYZxyz(18.8996, 18.8756, 40.6699)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178AA #AA9361
analogous
#619CAA #6178AA #6F61AA
triadic
#6178AA #AA6178 #78AA61
tetradic
#6178AA #AA619C #AA9361 #61AA6F
square
#6178AA #AA619C #AA9361 #61AA6F
split-complementary
#6178AA #AA6F61 #9CAA61
monochromatic
#33405E #485B86 #6178AA #899ABF #B1BCD5

Accessibility & contrast

On white

4.40
#6178AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6178AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6178AA#FFFFFF#000000##000000
##6178AA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#5F75A9
Tritanopia (blue-blind)
#47828A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6178aa;
/* rgb */ color: rgb(97, 120, 170);
/* oklch */ color: oklch(57.5% 0.082 265.0);
Tailwind
colors: {
  custom: {
    50: '#919ec3',
    500: '#6178aa',
    950: '#000000',
  },
}
SCSS
$custom: #6178aa;
$custom-light: #919ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#6178aa",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 221.096,
    "s": 30.041,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.08221,
    "h": 265
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#6178AA
secondary
#C3B9A4
accent
#A762C6
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6178AA

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

Preview Lab → · Contrast checker → · Palette generator →

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