#6178C2#6178C2

#6178C2 is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.8% C 0.117 H 269.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6178C2
RGBrgb(97, 120, 194)
HSLhsl(226, 44%, 57%)
HSVhsv(226, 50%, 76%)
CMYKcmyk(50%, 38.1%, 0%, 23.9%)
CIE-LABlab(51.69, 12.33, -41.35)
CIE-LCHlch(51.69, 43.15, 286.60°)
OKLaboklab(58.79% -0.001 -0.1168)
OKLCHoklch(58.79% 0.117 269.5)
XYZxyz(21.3807, 19.8680, 53.7367)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178C2 #C2AB61
analogous
#61A9C2 #6178C2 #7B61C2
triadic
#6178C2 #C26178 #78C261
tetradic
#6178C2 #C261A9 #C2AB61 #61C27B
square
#6178C2 #C261A9 #C2AB61 #61C27B
split-complementary
#6178C2 #C27B61 #A9C261
monochromatic
#2F417A #4058A6 #6178C2 #8D9ED3 #B9C3E4

Accessibility & contrast

On white

4.22
#6178C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6178C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178C2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178C2#FFFFFF#000000##000000
##6178C21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#388894
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6178c2;
/* rgb */ color: rgb(97, 120, 194);
/* oklch */ color: oklch(58.8% 0.117 269.5);
Tailwind
colors: {
  custom: {
    50: '#939ed5',
    500: '#6178c2',
    950: '#000000',
  },
}
SCSS
$custom: #6178c2;
$custom-light: #939ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#6178c2",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 225.773,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.11682,
    "h": 269.5
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#6178C2
secondary
#D3CAAC
accent
#B654D4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #6178C2

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

Preview Lab → · Contrast checker → · Palette generator →

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