#6178CA#6178CA

#6178CA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.128 H 270.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6178CA
RGBrgb(97, 120, 202)
HSLhsl(227, 50%, 59%)
HSVhsv(227, 52%, 79%)
CMYKcmyk(52%, 40.6%, 0%, 20.8%)
CIE-LABlab(52.10, 14.85, -45.26)
CIE-LCHlch(52.10, 47.63, 288.16°)
OKLaboklab(59.25% 0.0007 -0.1282)
OKLCHoklch(59.25% 0.128 270.3)
XYZxyz(22.3034, 20.2371, 58.5965)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178CA #CAB361
analogous
#61ACCA #6178CA #7E61CA
triadic
#6178CA #CA6178 #78CA61
tetradic
#6178CA #CA61AC #CAB361 #61CA7E
square
#6178CA #CA61AC #CAB361 #61CA7E
split-complementary
#6178CA #CA7E61 #ACCA61
monochromatic
#2C4084 #3C56B2 #6178CA #8F9FD9 #BDC6E9

Accessibility & contrast

On white

4.16
#6178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178CA#FFFFFF#000000##000000
##6178CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#308A97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6178ca;
/* rgb */ color: rgb(97, 120, 202);
/* oklch */ color: oklch(59.2% 0.128 270.3);
Tailwind
colors: {
  custom: {
    50: '#949eda',
    500: '#6178ca',
    950: '#000000',
  },
}
SCSS
$custom: #6178ca;
$custom-light: #949eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6178ca",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 226.857,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.12825,
    "h": 270.3
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#6178CA
secondary
#D8CFAF
accent
#BB4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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