#6178F1#6178F1

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

Color values

HEX#6178F1
RGBrgb(97, 120, 241)
HSLhsl(230, 84%, 66%)
HSVhsv(230, 60%, 95%)
CMYKcmyk(59.8%, 50.2%, 0%, 5.5%)
CIE-LABlab(54.37, 27.46, -63.59)
CIE-LCHlch(54.37, 69.27, 293.36°)
OKLaboklab(61.7% 0.0062 -0.1821)
OKLCHoklch(61.7% 0.182 271.9)
XYZxyz(27.5181, 22.3230, 86.0607)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178F1 #F1DA61
analogous
#61C0F1 #6178F1 #9261F1
triadic
#6178F1 #F16178 #78F161
tetradic
#6178F1 #F161C0 #F1DA61 #61F192
square
#6178F1 #F161C0 #F1DA61 #61F192
split-complementary
#6178F1 #F19261 #C0F161
monochromatic
#122EC6 #2948EC #6178F1 #99A8F6 #D1D8FB

Accessibility & contrast

On white

3.84
#6178F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6178F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178F1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178F1#FFFFFF#000000##000000
##6178F11.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#107CEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6178f1;
/* rgb */ color: rgb(97, 120, 241);
/* oklch */ color: oklch(61.7% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#9a9ef6',
    500: '#6178f1',
    950: '#000000',
  },
}
SCSS
$custom: #6178f1;
$custom-light: #9a9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6178f1",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 230.417,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.617,
    "c": 0.18218,
    "h": 271.9
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#6178F1
secondary
#EEE7BF
accent
#BD05E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178F1

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

Preview Lab → · Contrast checker → · Palette generator →

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