#6178BC#6178BC

#6178BC is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.5% C 0.108 H 268.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6178BC
RGBrgb(97, 120, 188)
HSLhsl(225, 40%, 56%)
HSVhsv(225, 48%, 74%)
CMYKcmyk(48.4%, 36.2%, 0%, 26.3%)
CIE-LABlab(51.39, 10.47, -38.38)
CIE-LCHlch(51.39, 39.78, 285.25°)
OKLaboklab(58.46% -0.0024 -0.1082)
OKLCHoklch(58.46% 0.108 268.7)
XYZxyz(20.7204, 19.6039, 50.2593)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178BC #BCA561
analogous
#61A5BC #6178BC #7761BC
triadic
#6178BC #BC6178 #78BC61
tetradic
#6178BC #BC61A5 #BCA561 #61BC77
square
#6178BC #BC61A5 #BCA561 #61BC77
split-complementary
#6178BC #BC7761 #A5BC61
monochromatic
#304172 #435A9D #6178BC #8C9DCE #B7C1E0

Accessibility & contrast

On white

4.27
#6178BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6178BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6178BC#FFFFFF#000000##000000
##6178BC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#3C8691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6178bc;
/* rgb */ color: rgb(97, 120, 188);
/* oklch */ color: oklch(58.5% 0.108 268.7);
Tailwind
colors: {
  custom: {
    50: '#939ed0',
    500: '#6178bc',
    950: '#000000',
  },
}
SCSS
$custom: #6178bc;
$custom-light: #939ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6178bc",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 224.835,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.10821,
    "h": 268.7
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#6178BC
secondary
#CFC6AA
accent
#B257D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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