#6178AF#6178AF

#6178AF is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.8% C 0.089 H 266.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6178AF
RGBrgb(97, 120, 175)
HSLhsl(222, 33%, 53%)
HSVhsv(222, 45%, 69%)
CMYKcmyk(44.6%, 31.4%, 0%, 31.4%)
CIE-LABlab(50.77, 6.51, -31.86)
CIE-LCHlch(50.77, 32.51, 281.55°)
OKLaboklab(57.77% -0.0057 -0.0892)
OKLCHoklch(57.77% 0.089 266.3)
XYZxyz(19.3816, 19.0684, 43.2084)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6178AF #AF9861
analogous
#619FAF #6178AF #7161AF
triadic
#6178AF #AF6178 #78AF61
tetradic
#6178AF #AF619F #AF9861 #61AF71
square
#6178AF #AF619F #AF9861 #61AF71
split-complementary
#6178AF #AF7161 #9FAF61
monochromatic
#324163 #475B8C #6178AF #8A9BC4 #B2BDD8

Accessibility & contrast

On white

4.36
#6178AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6178AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6178AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6178AF#FFFFFF#000000##000000
##6178AF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#45838C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6178af;
/* rgb */ color: rgb(97, 120, 175);
/* oklch */ color: oklch(57.8% 0.089 266.3);
Tailwind
colors: {
  custom: {
    50: '#919ec7',
    500: '#6178af',
    950: '#000000',
  },
}
SCSS
$custom: #6178af;
$custom-light: #919ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6178af",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 222.308,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.08943,
    "h": 266.3
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#6178AF
secondary
#C7BDA5
accent
#AA5FC9
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6178AF

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

Preview Lab → · Contrast checker → · Palette generator →

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