#6178CF#6178CF

#6178CF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.135 H 270.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6178CF
RGBrgb(97, 120, 207)
HSLhsl(227, 53%, 60%)
HSVhsv(227, 53%, 81%)
CMYKcmyk(53.1%, 42%, 0%, 18.8%)
CIE-LABlab(52.37, 16.44, -47.68)
CIE-LCHlch(52.37, 50.43, 289.02°)
OKLaboklab(59.54% 0.0016 -0.1353)
OKLCHoklch(59.54% 0.135 270.7)
XYZxyz(22.9050, 20.4777, 61.7650)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178CF #CFB861
analogous
#61AFCF #6178CF #8161CF
triadic
#6178CF #CF6178 #78CF61
tetradic
#6178CF #CF61AF #CFB861 #61CF81
square
#6178CF #CF61AF #CFB861 #61CF81
split-complementary
#6178CF #CF8161 #AFCF61
monochromatic
#2A3F8B #3954BA #6178CF #90A0DD #BFC8EC

Accessibility & contrast

On white

4.12
#6178CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6178CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178CF#FFFFFF#000000##000000
##6178CF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#2B8B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6178cf;
/* rgb */ color: rgb(97, 120, 207);
/* oklch */ color: oklch(59.5% 0.135 270.7);
Tailwind
colors: {
  custom: {
    50: '#959ede',
    500: '#6178cf',
    950: '#000000',
  },
}
SCSS
$custom: #6178cf;
$custom-light: #959ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6178cf",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 227.455,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.13533,
    "h": 270.7
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#6178CF
secondary
#DBD2B1
accent
#BE4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6178CF

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

Preview Lab → · Contrast checker → · Palette generator →

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