#6173DD#6173DD

#6173DD is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.4% C 0.161 H 273.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6173DD
RGBrgb(97, 115, 221)
HSLhsl(231, 65%, 62%)
HSVhsv(231, 56%, 87%)
CMYKcmyk(56.1%, 48%, 0%, 13.3%)
CIE-LABlab(51.86, 23.99, -56.42)
CIE-LCHlch(51.86, 61.31, 293.04°)
OKLaboklab(59.41% 0.0092 -0.161)
OKLCHoklch(59.41% 0.161 273.3)
XYZxyz(24.1074, 20.0216, 70.9868)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173DD #DDCB61
analogous
#61B1DD #6173DD #8D61DD
triadic
#6173DD #DD6173 #73DD61
tetradic
#6173DD #DD61B1 #DDCB61 #61DD8D
square
#6173DD #DD61B1 #DDCB61 #61DD8D
split-complementary
#6173DD #DD8D61 #B1DD61
monochromatic
#2335A1 #2F46D2 #6173DD #93A0E8 #C6CCF3

Accessibility & contrast

On white

4.20
#6173DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6173DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173DD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173DD#FFFFFF#000000##000000
##6173DD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#2D77DB
Tritanopia (blue-blind)
#158B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6173dd;
/* rgb */ color: rgb(97, 115, 221);
/* oklch */ color: oklch(59.4% 0.161 273.3);
Tailwind
colors: {
  custom: {
    50: '#979be8',
    500: '#6173dd',
    950: '#000000',
  },
}
SCSS
$custom: #6173dd;
$custom-light: #979be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6173dd",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 231.29,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.16129,
    "h": 273.3
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#6173DD
secondary
#E4DDB6
accent
#B219CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6173DD

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

Preview Lab → · Contrast checker → · Palette generator →

#6173DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva