#6178A3#6178A3

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

Color values

HEX#6178A3
RGBrgb(97, 120, 163)
HSLhsl(219, 26%, 51%)
HSVhsv(219, 40%, 64%)
CMYKcmyk(40.5%, 26.4%, 0%, 36.1%)
CIE-LABlab(50.24, 2.98, -25.71)
CIE-LCHlch(50.24, 25.88, 276.61°)
OKLaboklab(57.19% -0.0093 -0.0715)
OKLCHoklch(57.19% 0.072 262.6)
XYZxyz(18.2550, 18.6177, 37.2749)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178A3 #A38C61
analogous
#6199A3 #6178A3 #6B61A3
triadic
#6178A3 #A36178 #78A361
tetradic
#6178A3 #A36199 #A38C61 #61A36B
square
#6178A3 #A36199 #A38C61 #61A36B
split-complementary
#6178A3 #A36B61 #99A361
monochromatic
#333F57 #495B7E #6178A3 #8899BA #AEBAD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6178A3#FFFFFF#000000##000000
##6178A31.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)
#697BA5
Deuteranopia (green-blind)
#6275A2
Tritanopia (blue-blind)
#4B8187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6178a3;
/* rgb */ color: rgb(97, 120, 163);
/* oklch */ color: oklch(57.2% 0.072 262.6);
Tailwind
colors: {
  custom: {
    50: '#909ebe',
    500: '#6178a3',
    950: '#000000',
  },
}
SCSS
$custom: #6178a3;
$custom-light: #909ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6178a3",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 219.091,
    "s": 26.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.07215,
    "h": 262.6
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#6178A3
secondary
#BFB4A1
accent
#A265C3
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6178A3

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

Preview Lab → · Contrast checker → · Palette generator →

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