#6178DC#6178DC

#6178DC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.154 H 271.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6178DC
RGBrgb(97, 120, 220)
HSLhsl(229, 64%, 62%)
HSVhsv(229, 56%, 86%)
CMYKcmyk(55.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(53.10, 20.62, -53.87)
CIE-LCHlch(53.10, 57.68, 290.94°)
OKLaboklab(60.33% 0.0037 -0.1535)
OKLCHoklch(60.33% 0.154 271.4)
XYZxyz(24.5603, 21.1398, 70.4824)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178DC #DCC561
analogous
#61B6DC #6178DC #8761DC
triadic
#6178DC #DC6178 #78DC61
tetradic
#6178DC #DC61B6 #DCC561 #61DC87
square
#6178DC #DC61B6 #DCC561 #61DC87
split-complementary
#6178DC #DC8761 #B6DC61
monochromatic
#233A9F #2F4DD1 #6178DC #93A3E7 #C5CEF2

Accessibility & contrast

On white

4.02
#6178DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6178DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178DC#FFFFFF#000000##000000
##6178DC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#158E9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6178dc;
/* rgb */ color: rgb(97, 120, 220);
/* oklch */ color: oklch(60.3% 0.154 271.4);
Tailwind
colors: {
  custom: {
    50: '#979ee7',
    500: '#6178dc',
    950: '#000000',
  },
}
SCSS
$custom: #6178dc;
$custom-light: #979ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6178dc",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 228.78,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.15354,
    "h": 271.4
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#6178DC
secondary
#E3DBB6
accent
#AA1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6178DC

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

Preview Lab → · Contrast checker → · Palette generator →

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