#6178A5#6178A5

#6178A5 is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.3% C 0.075 H 263.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6178A5
RGBrgb(97, 120, 165)
HSLhsl(220, 27%, 51%)
HSVhsv(220, 41%, 65%)
CMYKcmyk(41.2%, 27.3%, 0%, 35.3%)
CIE-LABlab(50.32, 3.56, -26.74)
CIE-LCHlch(50.32, 26.98, 277.58°)
OKLaboklab(57.28% -0.0087 -0.0745)
OKLCHoklch(57.28% 0.075 263.3)
XYZxyz(18.4356, 18.6900, 38.2261)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178A5 #A58E61
analogous
#619AA5 #6178A5 #6C61A5
triadic
#6178A5 #A56178 #78A561
tetradic
#6178A5 #A5619A #A58E61 #61A56C
square
#6178A5 #A5619A #A58E61 #61A56C
split-complementary
#6178A5 #A56C61 #9AA561
monochromatic
#334059 #495B80 #6178A5 #8899BB #AFBBD1

Accessibility & contrast

On white

4.43
#6178A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6178A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6178A5#FFFFFF#000000##000000
##6178A51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#4A8188
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6178a5;
/* rgb */ color: rgb(97, 120, 165);
/* oklch */ color: oklch(57.3% 0.075 263.3);
Tailwind
colors: {
  custom: {
    50: '#909ec0',
    500: '#6178a5',
    950: '#000000',
  },
}
SCSS
$custom: #6178a5;
$custom-light: #909ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6178a5",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 165
  },
  "hsl": {
    "h": 219.706,
    "s": 27.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.07501,
    "h": 263.3
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#6178A5
secondary
#C0B6A2
accent
#A364C4
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6178A5

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

Preview Lab → · Contrast checker → · Palette generator →

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