#6172DD#6172DD

#6172DD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.163 H 273.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6172DD
RGBrgb(97, 114, 221)
HSLhsl(232, 65%, 62%)
HSVhsv(232, 56%, 87%)
CMYKcmyk(56.1%, 48.4%, 0%, 13.3%)
CIE-LABlab(51.60, 24.61, -56.83)
CIE-LCHlch(51.60, 61.93, 293.41°)
OKLaboklab(59.21% 0.0102 -0.1623)
OKLCHoklch(59.21% 0.163 273.6)
XYZxyz(23.9940, 19.7947, 70.9490)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172DD #DDCC61
analogous
#61B0DD #6172DD #8E61DD
triadic
#6172DD #DD6172 #72DD61
tetradic
#6172DD #DD61B0 #DDCC61 #61DD8E
square
#6172DD #DD61B0 #DDCC61 #61DD8E
split-complementary
#6172DD #DD8E61 #B0DD61
monochromatic
#2334A1 #2F45D2 #6172DD #939FE8 #C6CCF3

Accessibility & contrast

On white

4.23
#6172DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6172DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172DD#FFFFFF#000000##000000
##6172DD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E1
Deuteranopia (green-blind)
#2B76DB
Tritanopia (blue-blind)
#168A9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6172dd;
/* rgb */ color: rgb(97, 114, 221);
/* oklch */ color: oklch(59.2% 0.163 273.6);
Tailwind
colors: {
  custom: {
    50: '#979ae8',
    500: '#6172dd',
    950: '#000000',
  },
}
SCSS
$custom: #6172dd;
$custom-light: #979ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#6172dd",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 231.774,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.16258,
    "h": 273.6
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6172DD

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

Preview Lab → · Contrast checker → · Palette generator →

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