#6178B9#6178B9

#6178B9 is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.3% C 0.104 H 268.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6178B9
RGBrgb(97, 120, 185)
HSLhsl(224, 39%, 55%)
HSVhsv(224, 48%, 73%)
CMYKcmyk(47.6%, 35.1%, 0%, 27.5%)
CIE-LABlab(51.24, 9.54, -36.89)
CIE-LCHlch(51.24, 38.10, 284.50°)
OKLaboklab(58.29% -0.0031 -0.1038)
OKLCHoklch(58.29% 0.104 268.3)
XYZxyz(20.4004, 19.4759, 48.5738)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178B9 #B9A261
analogous
#61A4B9 #6178B9 #7661B9
triadic
#6178B9 #B96178 #78B961
tetradic
#6178B9 #B961A4 #B9A261 #61B976
square
#6178B9 #B961A4 #B9A261 #61B976
split-complementary
#6178B9 #B97661 #A4B961
monochromatic
#31416F #445A99 #6178B9 #8B9CCC #B6C0DF

Accessibility & contrast

On white

4.29
#6178B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6178B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178B9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178B9#FFFFFF#000000##000000
##6178B91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBC
Deuteranopia (green-blind)
#5776B8
Tritanopia (blue-blind)
#3E8690
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6178b9;
/* rgb */ color: rgb(97, 120, 185);
/* oklch */ color: oklch(58.3% 0.104 268.3);
Tailwind
colors: {
  custom: {
    50: '#929ece',
    500: '#6178b9',
    950: '#000000',
  },
}
SCSS
$custom: #6178b9;
$custom-light: #929ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6178b9",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 185
  },
  "hsl": {
    "h": 224.318,
    "s": 38.596,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.10388,
    "h": 268.3
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#6178B9
secondary
#CDC4A9
accent
#B059CF
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6178B9

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

Preview Lab → · Contrast checker → · Palette generator →

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