#6178CD#6178CD

#6178CD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.133 H 270.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6178CD
RGBrgb(97, 120, 205)
HSLhsl(227, 52%, 59%)
HSVhsv(227, 53%, 80%)
CMYKcmyk(52.7%, 41.5%, 0%, 19.6%)
CIE-LABlab(52.26, 15.80, -46.71)
CIE-LCHlch(52.26, 49.31, 288.69°)
OKLaboklab(59.42% 0.0012 -0.1325)
OKLCHoklch(59.42% 0.133 270.5)
XYZxyz(22.6621, 20.3806, 60.4854)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178CD #CDB661
analogous
#61AECD #6178CD #8061CD
triadic
#6178CD #CD6178 #78CD61
tetradic
#6178CD #CD61AE #CDB661 #61CD80
square
#6178CD #CD61AE #CDB661 #61CD80
split-complementary
#6178CD #CD8061 #AECD61
monochromatic
#2B3F88 #3A55B7 #6178CD #8FA0DC #BEC7EA

Accessibility & contrast

On white

4.14
#6178CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178CD#FFFFFF#000000##000000
##6178CD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#2D8A98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6178cd;
/* rgb */ color: rgb(97, 120, 205);
/* oklch */ color: oklch(59.4% 0.133 270.5);
Tailwind
colors: {
  custom: {
    50: '#959edd',
    500: '#6178cd',
    950: '#000000',
  },
}
SCSS
$custom: #6178cd;
$custom-light: #959edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6178cd",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 227.222,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.13251,
    "h": 270.5
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#6178CD
secondary
#DAD1B0
accent
#BD4CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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