#6174A2#6174A2

#6174A2 is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.075 H 266.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6174A2
RGBrgb(97, 116, 162)
HSLhsl(222, 26%, 51%)
HSVhsv(222, 40%, 64%)
CMYKcmyk(40.1%, 28.4%, 0%, 36.5%)
CIE-LABlab(49.06, 5.08, -26.95)
CIE-LCHlch(49.06, 27.43, 280.68°)
OKLaboklab(56.25% -0.0043 -0.0751)
OKLCHoklch(56.25% 0.075 266.8)
XYZxyz(17.6947, 17.6399, 36.6479)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174A2 #A28F61
analogous
#6194A2 #6174A2 #6E61A2
triadic
#6174A2 #A26174 #74A261
tetradic
#6174A2 #A26194 #A28F61 #61A26E
square
#6174A2 #A26194 #A28F61 #61A26E
split-complementary
#6174A2 #A26E61 #94A261
monochromatic
#333D56 #49587D #6174A2 #8896B9 #AEB8CF

Accessibility & contrast

On white

4.64
#6174A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6174A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6174A2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174A2#FFFFFF#000000##FFFFFF
##6174A21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#4C7D84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6174a2;
/* rgb */ color: rgb(97, 116, 162);
/* oklch */ color: oklch(56.3% 0.075 266.8);
Tailwind
colors: {
  custom: {
    50: '#909bbd',
    500: '#6174a2',
    950: '#000000',
  },
}
SCSS
$custom: #6174a2;
$custom-light: #909bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6174a2",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 222.462,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.07524,
    "h": 266.8
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#6174A2
secondary
#BEB5A1
accent
#A766C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6174A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6174A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva