#6178ED#6178ED

#6178ED is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.177 H 271.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6178ED
RGBrgb(97, 120, 237)
HSLhsl(230, 80%, 65%)
HSVhsv(230, 59%, 93%)
CMYKcmyk(59.1%, 49.4%, 0%, 7.1%)
CIE-LABlab(54.12, 26.15, -61.77)
CIE-LCHlch(54.12, 67.08, 292.95°)
OKLaboklab(61.43% 0.0058 -0.1767)
OKLCHoklch(61.43% 0.177 271.9)
XYZxyz(26.9272, 22.0866, 82.9485)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178ED #EDD661
analogous
#61BEED #6178ED #9061ED
triadic
#6178ED #ED6178 #78ED61
tetradic
#6178ED #ED61BE #EDD661 #61ED90
square
#6178ED #ED61BE #EDD661 #61ED90
split-complementary
#6178ED #ED9061 #BEED61
monochromatic
#1631BE #2A49E7 #6178ED #98A7F3 #CFD6FA

Accessibility & contrast

On white

3.88
#6178ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6178ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178ED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178ED#FFFFFF#000000##000000
##6178ED1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6178ed;
/* rgb */ color: rgb(97, 120, 237);
/* oklch */ color: oklch(61.4% 0.177 271.9);
Tailwind
colors: {
  custom: {
    50: '#999ef3',
    500: '#6178ed',
    950: '#000000',
  },
}
SCSS
$custom: #6178ed;
$custom-light: #999ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6178ed",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 230.143,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.1768,
    "h": 271.9
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#6178ED
secondary
#ECE5BD
accent
#B90ADC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178ED

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

Preview Lab → · Contrast checker → · Palette generator →

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