#6178E9#6178E9

#6178E9 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.171 H 271.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6178E9
RGBrgb(97, 120, 233)
HSLhsl(230, 76%, 65%)
HSVhsv(230, 58%, 91%)
CMYKcmyk(58.4%, 48.5%, 0%, 8.6%)
CIE-LABlab(53.87, 24.84, -59.93)
CIE-LCHlch(53.87, 64.87, 292.52°)
OKLaboklab(61.17% 0.0054 -0.1713)
OKLCHoklch(61.17% 0.171 271.8)
XYZxyz(26.3493, 21.8555, 79.9050)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178E9 #E9D261
analogous
#61BCE9 #6178E9 #8E61E9
triadic
#6178E9 #E96178 #78E961
tetradic
#6178E9 #E961BC #E9D261 #61E98E
square
#6178E9 #E961BC #E9D261 #61E98E
split-complementary
#6178E9 #E98E61 #BCE961
monochromatic
#1934B6 #2B4AE2 #6178E9 #97A6F0 #CCD4F8

Accessibility & contrast

On white

3.91
#6178E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6178E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178E9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178E9#FFFFFF#000000##000000
##6178E91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6178e9;
/* rgb */ color: rgb(97, 120, 233);
/* oklch */ color: oklch(61.2% 0.171 271.8);
Tailwind
colors: {
  custom: {
    50: '#999ef1',
    500: '#6178e9',
    950: '#000000',
  },
}
SCSS
$custom: #6178e9;
$custom-light: #999ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6178e9",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 229.853,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.17138,
    "h": 271.8
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#6178E9
secondary
#EAE2BC
accent
#B60ED8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178E9

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

Preview Lab → · Contrast checker → · Palette generator →

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