#6178EA#6178EA

#6178EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.173 H 271.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6178EA
RGBrgb(97, 120, 234)
HSLhsl(230, 77%, 65%)
HSVhsv(230, 59%, 92%)
CMYKcmyk(58.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.93, 25.17, -60.39)
CIE-LCHlch(53.93, 65.42, 292.63°)
OKLaboklab(61.23% 0.0055 -0.1726)
OKLCHoklch(61.23% 0.173 271.8)
XYZxyz(26.4926, 21.9128, 80.6595)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178EA #EAD361
analogous
#61BCEA #6178EA #8F61EA
triadic
#6178EA #EA6178 #78EA61
tetradic
#6178EA #EA61BC #EAD361 #61EA8F
square
#6178EA #EA61BC #EAD361 #61EA8F
split-complementary
#6178EA #EA8F61 #BCEA61
monochromatic
#1833B8 #2B4AE3 #6178EA #97A6F1 #CDD4F8

Accessibility & contrast

On white

3.90
#6178EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6178EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178EA#FFFFFF#000000##000000
##6178EA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6178ea;
/* rgb */ color: rgb(97, 120, 234);
/* oklch */ color: oklch(61.2% 0.173 271.8);
Tailwind
colors: {
  custom: {
    50: '#999ef1',
    500: '#6178ea',
    950: '#000000',
  },
}
SCSS
$custom: #6178ea;
$custom-light: #999ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6178ea",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 229.927,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.17274,
    "h": 271.8
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#6178EA
secondary
#EBE3BC
accent
#B60DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6178EA

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

Preview Lab → · Contrast checker → · Palette generator →

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