#6178E4#6178E4

#6178E4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.165 H 271.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6178E4
RGBrgb(97, 120, 228)
HSLhsl(229, 71%, 64%)
HSVhsv(229, 57%, 89%)
CMYKcmyk(57.5%, 47.4%, 0%, 10.6%)
CIE-LABlab(53.57, 23.21, -57.61)
CIE-LCHlch(53.57, 62.11, 291.95°)
OKLaboklab(60.84% 0.0048 -0.1645)
OKLCHoklch(60.84% 0.165 271.7)
XYZxyz(25.6452, 21.5738, 76.1965)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178E4 #E4CD61
analogous
#61B9E4 #6178E4 #8B61E4
triadic
#6178E4 #E46178 #78E461
tetradic
#6178E4 #E461B9 #E4CD61 #61E48B
square
#6178E4 #E461B9 #E4CD61 #61E48B
split-complementary
#6178E4 #E48B61 #B9E461
monochromatic
#1E37AD #2D4BDB #6178E4 #95A5ED #CAD1F6

Accessibility & contrast

On white

3.95
#6178E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6178E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178E4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178E4#FFFFFF#000000##000000
##6178E41.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6178e4;
/* rgb */ color: rgb(97, 120, 228);
/* oklch */ color: oklch(60.8% 0.165 271.7);
Tailwind
colors: {
  custom: {
    50: '#989eed',
    500: '#6178e4',
    950: '#000000',
  },
}
SCSS
$custom: #6178e4;
$custom-light: #989eed;
$custom-dark: #000000;
JSON
{
  "hex": "#6178e4",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 229.466,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.16456,
    "h": 271.7
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#6178E4
secondary
#E7DFB9
accent
#B113D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6178E4

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

Preview Lab → · Contrast checker → · Palette generator →

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