#6175A2#6175A2

#6175A2 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.5% C 0.074 H 265.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6175A2
RGBrgb(97, 117, 162)
HSLhsl(222, 26%, 51%)
HSVhsv(222, 40%, 64%)
CMYKcmyk(40.1%, 27.8%, 0%, 36.5%)
CIE-LABlab(49.34, 4.48, -26.51)
CIE-LCHlch(49.34, 26.89, 279.60°)
OKLaboklab(56.47% -0.0056 -0.0738)
OKLCHoklch(56.47% 0.074 265.7)
XYZxyz(17.8106, 17.8717, 36.6865)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6175A2 #A28E61
analogous
#6195A2 #6175A2 #6D61A2
triadic
#6175A2 #A26175 #75A261
tetradic
#6175A2 #A26195 #A28E61 #61A26D
square
#6175A2 #A26195 #A28E61 #61A26D
split-complementary
#6175A2 #A26D61 #95A261
monochromatic
#333D56 #49597D #6175A2 #8897B9 #AEB8CF

Accessibility & contrast

On white

4.59
#6175A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6175A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6175A2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6175A2#FFFFFF#000000##FFFFFF
##6175A21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#5F73A1
Tritanopia (blue-blind)
#4C7E85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6175a2;
/* rgb */ color: rgb(97, 117, 162);
/* oklch */ color: oklch(56.5% 0.074 265.7);
Tailwind
colors: {
  custom: {
    50: '#909cbd',
    500: '#6175a2',
    950: '#000000',
  },
}
SCSS
$custom: #6175a2;
$custom-light: #909cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6175a2",
  "rgb": {
    "r": 97,
    "g": 117,
    "b": 162
  },
  "hsl": {
    "h": 221.538,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.07406,
    "h": 265.7
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6175A2

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

Preview Lab → · Contrast checker → · Palette generator →

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