#6178DE#6178DE

#6178DE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.156 H 271.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6178DE
RGBrgb(97, 120, 222)
HSLhsl(229, 65%, 63%)
HSVhsv(229, 56%, 87%)
CMYKcmyk(56.3%, 45.9%, 0%, 12.9%)
CIE-LABlab(53.22, 21.26, -54.81)
CIE-LCHlch(53.22, 58.79, 291.20°)
OKLaboklab(60.46% 0.004 -0.1562)
OKLCHoklch(60.46% 0.156 271.5)
XYZxyz(24.8267, 21.2464, 71.8858)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178DE #DEC761
analogous
#61B6DE #6178DE #8861DE
triadic
#6178DE #DE6178 #78DE61
tetradic
#6178DE #DE61B6 #DEC761 #61DE88
square
#6178DE #DE61B6 #DEC761 #61DE88
split-complementary
#6178DE #DE8861 #B6DE61
monochromatic
#223AA3 #2E4DD3 #6178DE #94A3E9 #C6CFF3

Accessibility & contrast

On white

4.00
#6178DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6178DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178DE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178DE#FFFFFF#000000##000000
##6178DE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E2
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#108FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6178de;
/* rgb */ color: rgb(97, 120, 222);
/* oklch */ color: oklch(60.5% 0.156 271.5);
Tailwind
colors: {
  custom: {
    50: '#979ee9',
    500: '#6178de',
    950: '#000000',
  },
}
SCSS
$custom: #6178de;
$custom-light: #979ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6178de",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 228.96,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.1563,
    "h": 271.5
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#6178DE
secondary
#E4DCB7
accent
#AC18CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6178DE

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

Preview Lab → · Contrast checker → · Palette generator →

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