#6178EE#6178EE

#6178EE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.178 H 271.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6178EE
RGBrgb(97, 120, 238)
HSLhsl(230, 81%, 66%)
HSVhsv(230, 59%, 93%)
CMYKcmyk(59.2%, 49.6%, 0%, 6.7%)
CIE-LABlab(54.18, 26.48, -62.22)
CIE-LCHlch(54.18, 67.62, 293.05°)
OKLaboklab(61.5% 0.0059 -0.1781)
OKLCHoklch(61.5% 0.178 271.9)
XYZxyz(27.0737, 22.1452, 83.7201)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178EE #EED761
analogous
#61BEEE #6178EE #9061EE
triadic
#6178EE #EE6178 #78EE61
tetradic
#6178EE #EE61BE #EED761 #61EE90
square
#6178EE #EE61BE #EED761 #61EE90
split-complementary
#6178EE #EE9061 #BEEE61
monochromatic
#1531C0 #2A49E8 #6178EE #98A7F4 #D0D6FA

Accessibility & contrast

On white

3.87
#6178EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6178EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178EE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178EE#FFFFFF#000000##000000
##6178EE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F2
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6178ee;
/* rgb */ color: rgb(97, 120, 238);
/* oklch */ color: oklch(61.5% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#999ef4',
    500: '#6178ee',
    950: '#000000',
  },
}
SCSS
$custom: #6178ee;
$custom-light: #999ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#6178ee",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 230.213,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.17815,
    "h": 271.9
  },
  "luminance": 0.22147
}

Semantic roles & 50–950 ramp

primary
#6178EE
secondary
#EDE5BE
accent
#BA09DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178EE

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

Preview Lab → · Contrast checker → · Palette generator →

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