#6178BB#6178BB

#6178BB is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.4% C 0.107 H 268.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6178BB
RGBrgb(97, 120, 187)
HSLhsl(225, 40%, 56%)
HSVhsv(225, 48%, 73%)
CMYKcmyk(48.1%, 35.8%, 0%, 26.7%)
CIE-LABlab(51.34, 10.16, -37.89)
CIE-LCHlch(51.34, 39.22, 285.01°)
OKLaboklab(58.4% -0.0026 -0.1067)
OKLCHoklch(58.4% 0.107 268.6)
XYZxyz(20.6130, 19.5609, 49.6935)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178BB #BBA461
analogous
#61A5BB #6178BB #7761BB
triadic
#6178BB #BB6178 #78BB61
tetradic
#6178BB #BB61A5 #BBA461 #61BB77
square
#6178BB #BB61A5 #BBA461 #61BB77
split-complementary
#6178BB #BB7761 #A5BB61
monochromatic
#314171 #435A9C #6178BB #8C9DCD #B7C1E0

Accessibility & contrast

On white

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

On black

4.91
#6178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6178BB#FFFFFF#000000##000000
##6178BB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#3D8691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6178bb;
/* rgb */ color: rgb(97, 120, 187);
/* oklch */ color: oklch(58.4% 0.107 268.6);
Tailwind
colors: {
  custom: {
    50: '#939ed0',
    500: '#6178bb',
    950: '#000000',
  },
}
SCSS
$custom: #6178bb;
$custom-light: #939ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6178bb",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 224.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.10676,
    "h": 268.6
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

primary
#6178BB
secondary
#CFC5A9
accent
#B158D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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