#6178E7#6178E7

#6178E7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.169 H 271.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6178E7
RGBrgb(97, 120, 231)
HSLhsl(230, 74%, 64%)
HSVhsv(230, 58%, 91%)
CMYKcmyk(58%, 48.1%, 0%, 9.4%)
CIE-LABlab(53.75, 24.19, -59.00)
CIE-LCHlch(53.75, 63.77, 292.29°)
OKLaboklab(61.04% 0.0051 -0.1686)
OKLCHoklch(61.04% 0.169 271.7)
XYZxyz(26.0653, 21.7418, 78.4088)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178E7 #E7D061
analogous
#61BBE7 #6178E7 #8D61E7
triadic
#6178E7 #E76178 #78E761
tetradic
#6178E7 #E761BB #E7D061 #61E78D
square
#6178E7 #E761BB #E7D061 #61E78D
split-complementary
#6178E7 #E78D61 #BBE761
monochromatic
#1B35B2 #2C4BDF #6178E7 #96A5EF #CBD3F7

Accessibility & contrast

On white

3.93
#6178E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6178E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178E7#FFFFFF#000000##000000
##6178E71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6178e7;
/* rgb */ color: rgb(97, 120, 231);
/* oklch */ color: oklch(61.0% 0.169 271.7);
Tailwind
colors: {
  custom: {
    50: '#989eef',
    500: '#6178e7',
    950: '#000000',
  },
}
SCSS
$custom: #6178e7;
$custom-light: #989eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6178e7",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 229.701,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.16866,
    "h": 271.7
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#6178E7
secondary
#E9E1BB
accent
#B410D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6178E7

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

Preview Lab → · Contrast checker → · Palette generator →

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