#6178CC#6178CC

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

Color values

HEX#6178CC
RGBrgb(97, 120, 204)
HSLhsl(227, 51%, 59%)
HSVhsv(227, 52%, 80%)
CMYKcmyk(52.5%, 41.2%, 0%, 20%)
CIE-LABlab(52.21, 15.48, -46.23)
CIE-LCHlch(52.21, 48.75, 288.52°)
OKLaboklab(59.36% 0.0011 -0.1311)
OKLCHoklch(59.36% 0.131 270.5)
XYZxyz(22.5418, 20.3324, 59.8517)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178CC #CCB561
analogous
#61AECC #6178CC #8061CC
triadic
#6178CC #CC6178 #78CC61
tetradic
#6178CC #CC61AE #CCB561 #61CC80
square
#6178CC #CC61AE #CCB561 #61CC80
split-complementary
#6178CC #CC8061 #AECC61
monochromatic
#2C3F87 #3B55B5 #6178CC #8FA0DB #BEC7EA

Accessibility & contrast

On white

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

On black

5.07
#6178CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178CC#FFFFFF#000000##000000
##6178CC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#2E8A98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6178cc;
/* rgb */ color: rgb(97, 120, 204);
/* oklch */ color: oklch(59.4% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#959edc',
    500: '#6178cc',
    950: '#000000',
  },
}
SCSS
$custom: #6178cc;
$custom-light: #959edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6178cc",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 227.103,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.13108,
    "h": 270.5
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#6178CC
secondary
#D9D0AF
accent
#BC4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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