#6178DD#6178DD

#6178DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.155 H 271.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6178DD
RGBrgb(97, 120, 221)
HSLhsl(229, 65%, 62%)
HSVhsv(229, 56%, 87%)
CMYKcmyk(56.1%, 45.7%, 0%, 13.3%)
CIE-LABlab(53.16, 20.94, -54.34)
CIE-LCHlch(53.16, 58.23, 291.07°)
OKLaboklab(60.4% 0.0039 -0.1549)
OKLCHoklch(60.4% 0.155 271.4)
XYZxyz(24.6931, 21.1930, 71.1820)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178DD #DDC661
analogous
#61B6DD #6178DD #8861DD
triadic
#6178DD #DD6178 #78DD61
tetradic
#6178DD #DD61B6 #DDC661 #61DD88
square
#6178DD #DD61B6 #DDC661 #61DD88
split-complementary
#6178DD #DD8861 #B6DD61
monochromatic
#233AA1 #2F4DD2 #6178DD #93A3E8 #C6CEF3

Accessibility & contrast

On white

4.01
#6178DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6178DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178DD#FFFFFF#000000##000000
##6178DD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#138EA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6178dd;
/* rgb */ color: rgb(97, 120, 221);
/* oklch */ color: oklch(60.4% 0.155 271.4);
Tailwind
colors: {
  custom: {
    50: '#979ee8',
    500: '#6178dd',
    950: '#000000',
  },
}
SCSS
$custom: #6178dd;
$custom-light: #979ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6178dd",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 228.871,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.15492,
    "h": 271.4
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#6178DD
secondary
#E4DBB6
accent
#AB19CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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