#6178CB#6178CB

#6178CB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.130 H 270.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6178CB
RGBrgb(97, 120, 203)
HSLhsl(227, 50%, 59%)
HSVhsv(227, 52%, 80%)
CMYKcmyk(52.2%, 40.9%, 0%, 20.4%)
CIE-LABlab(52.16, 15.16, -45.74)
CIE-LCHlch(52.16, 48.19, 288.34°)
OKLaboklab(59.3% 0.0009 -0.1297)
OKLCHoklch(59.3% 0.13 270.4)
XYZxyz(22.4222, 20.2846, 59.2221)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178CB #CBB461
analogous
#61ADCB #6178CB #7F61CB
triadic
#6178CB #CB6178 #78CB61
tetradic
#6178CB #CB61AD #CBB461 #61CB7F
square
#6178CB #CB61AD #CBB461 #61CB7F
split-complementary
#6178CB #CB7F61 #ADCB61
monochromatic
#2C3F86 #3B55B4 #6178CB #8F9FDA #BDC7E9

Accessibility & contrast

On white

4.15
#6178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178CB#FFFFFF#000000##000000
##6178CB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#2F8A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6178cb;
/* rgb */ color: rgb(97, 120, 203);
/* oklch */ color: oklch(59.3% 0.130 270.4);
Tailwind
colors: {
  custom: {
    50: '#949edb',
    500: '#6178cb',
    950: '#000000',
  },
}
SCSS
$custom: #6178cb;
$custom-light: #949edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6178cb",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 226.981,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59303,
    "c": 0.12967,
    "h": 270.4
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#6178CB
secondary
#D9D0AF
accent
#BC4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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