#6178A2#6178A2

#6178A2 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.1% C 0.071 H 262.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6178A2
RGBrgb(97, 120, 162)
HSLhsl(219, 26%, 51%)
HSVhsv(219, 40%, 64%)
CMYKcmyk(40.1%, 25.9%, 0%, 36.5%)
CIE-LABlab(50.19, 2.69, -25.19)
CIE-LCHlch(50.19, 25.33, 276.09°)
OKLaboklab(57.14% -0.0097 -0.0701)
OKLCHoklch(57.14% 0.071 262.1)
XYZxyz(18.1658, 18.5820, 36.8049)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178A2 #A28B61
analogous
#6198A2 #6178A2 #6A61A2
triadic
#6178A2 #A26178 #78A261
tetradic
#6178A2 #A26198 #A28B61 #61A26A
square
#6178A2 #A26198 #A28B61 #61A26A
split-complementary
#6178A2 #A26A61 #98A261
monochromatic
#333F56 #495B7D #6178A2 #8899B9 #AEBACF

Accessibility & contrast

On white

4.45
#6178A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6178A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6178A2#FFFFFF#000000##000000
##6178A21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#6275A1
Tritanopia (blue-blind)
#4B8186
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6178a2;
/* rgb */ color: rgb(97, 120, 162);
/* oklch */ color: oklch(57.1% 0.071 262.1);
Tailwind
colors: {
  custom: {
    50: '#909ebd',
    500: '#6178a2',
    950: '#000000',
  },
}
SCSS
$custom: #6178a2;
$custom-light: #909ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#6178a2",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 218.769,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.07072,
    "h": 262.1
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#6178A2
secondary
#BEB4A1
accent
#A166C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6178A2

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

Preview Lab → · Contrast checker → · Palette generator →

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