#6178E8#6178E8

#6178E8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.170 H 271.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6178E8
RGBrgb(97, 120, 232)
HSLhsl(230, 75%, 65%)
HSVhsv(230, 58%, 91%)
CMYKcmyk(58.2%, 48.3%, 0%, 9%)
CIE-LABlab(53.81, 24.52, -59.47)
CIE-LCHlch(53.81, 64.32, 292.41°)
OKLaboklab(61.1% 0.0053 -0.1699)
OKLCHoklch(61.1% 0.17 271.8)
XYZxyz(26.2069, 21.7985, 79.1548)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178E8 #E8D161
analogous
#61BBE8 #6178E8 #8E61E8
triadic
#6178E8 #E86178 #78E861
tetradic
#6178E8 #E861BB #E8D161 #61E88E
square
#6178E8 #E861BB #E8D161 #61E88E
split-complementary
#6178E8 #E88E61 #BBE861
monochromatic
#1A35B4 #2C4AE0 #6178E8 #96A6F0 #CCD3F8

Accessibility & contrast

On white

3.92
#6178E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6178E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178E8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178E8#FFFFFF#000000##000000
##6178E81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6178e8;
/* rgb */ color: rgb(97, 120, 232);
/* oklch */ color: oklch(61.1% 0.170 271.8);
Tailwind
colors: {
  custom: {
    50: '#989ef0',
    500: '#6178e8',
    950: '#000000',
  },
}
SCSS
$custom: #6178e8;
$custom-light: #989ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6178e8",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 229.778,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.17002,
    "h": 271.8
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#6178E8
secondary
#EAE2BB
accent
#B50FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #6178E8

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

Preview Lab → · Contrast checker → · Palette generator →

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