#6178F0#6178F0

#6178F0 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.181 H 271.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6178F0
RGBrgb(97, 120, 240)
HSLhsl(230, 83%, 66%)
HSVhsv(230, 60%, 94%)
CMYKcmyk(59.6%, 50%, 0%, 5.9%)
CIE-LABlab(54.31, 27.13, -63.14)
CIE-LCHlch(54.31, 68.72, 293.26°)
OKLaboklab(61.63% 0.0061 -0.1807)
OKLCHoklch(61.63% 0.181 271.9)
XYZxyz(27.3692, 22.2634, 85.2762)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178F0 #F0D961
analogous
#61BFF0 #6178F0 #9161F0
triadic
#6178F0 #F06178 #78F061
tetradic
#6178F0 #F061BF #F0D961 #61F091
square
#6178F0 #F061BF #F0D961 #61F091
split-complementary
#6178F0 #F09161 #BFF061
monochromatic
#132FC4 #2948EB #6178F0 #99A8F5 #D1D8FB

Accessibility & contrast

On white

3.85
#6178F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6178F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178F0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178F0#FFFFFF#000000##000000
##6178F01.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#147CED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6178f0;
/* rgb */ color: rgb(97, 120, 240);
/* oklch */ color: oklch(61.6% 0.181 271.9);
Tailwind
colors: {
  custom: {
    50: '#9a9ef6',
    500: '#6178f0',
    950: '#000000',
  },
}
SCSS
$custom: #6178f0;
$custom-light: #9a9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6178f0",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 230.35,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.18084,
    "h": 271.9
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#6178F0
secondary
#EEE6BF
accent
#BC06DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178F0

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

Preview Lab → · Contrast checker → · Palette generator →

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