#6178BF#6178BF

#6178BF is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.6% C 0.113 H 269.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6178BF
RGBrgb(97, 120, 191)
HSLhsl(225, 42%, 56%)
HSVhsv(225, 49%, 75%)
CMYKcmyk(49.2%, 37.2%, 0%, 25.1%)
CIE-LABlab(51.54, 11.39, -39.87)
CIE-LCHlch(51.54, 41.47, 285.95°)
OKLaboklab(58.62% -0.0017 -0.1125)
OKLCHoklch(58.62% 0.113 269.1)
XYZxyz(21.0472, 19.7346, 51.9802)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178BF #BFA861
analogous
#61A7BF #6178BF #7961BF
triadic
#6178BF #BF6178 #78BF61
tetradic
#6178BF #BF61A7 #BFA861 #61BF79
square
#6178BF #BF61A7 #BFA861 #61BF79
split-complementary
#6178BF #BF7961 #A7BF61
monochromatic
#304176 #4159A1 #6178BF #8D9DD1 #B8C2E2

Accessibility & contrast

On white

4.24
#6178BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6178BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178BF#FFFFFF#000000##000000
##6178BF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#3A8792
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6178bf;
/* rgb */ color: rgb(97, 120, 191);
/* oklch */ color: oklch(58.6% 0.113 269.1);
Tailwind
colors: {
  custom: {
    50: '#939ed2',
    500: '#6178bf',
    950: '#000000',
  },
}
SCSS
$custom: #6178bf;
$custom-light: #939ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6178bf",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 225.319,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.11252,
    "h": 269.1
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#6178BF
secondary
#D1C8AB
accent
#B456D2
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6178BF

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

Preview Lab → · Contrast checker → · Palette generator →

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