#6172CB#6172CB

#6172CB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.137 H 273.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6172CB
RGBrgb(97, 114, 203)
HSLhsl(230, 50%, 59%)
HSVhsv(230, 52%, 80%)
CMYKcmyk(52.2%, 43.8%, 0%, 20.4%)
CIE-LABlab(50.55, 18.83, -48.29)
CIE-LCHlch(50.55, 51.84, 291.30°)
OKLaboklab(58.08% 0.0078 -0.1372)
OKLCHoklch(58.08% 0.137 273.3)
XYZxyz(21.7231, 18.8864, 58.9891)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172CB #CBBA61
analogous
#61A7CB #6172CB #8561CB
triadic
#6172CB #CB6172 #72CB61
tetradic
#6172CB #CB61A7 #CBBA61 #61CB85
square
#6172CB #CB61A7 #CBBA61 #61CB85
split-complementary
#6172CB #CB8561 #A7CB61
monochromatic
#2C3A86 #3B4EB4 #6172CB #8F9BDA #BDC4E9

Accessibility & contrast

On white

4.40
#6172CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6172CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172CB#FFFFFF#000000##000000
##6172CB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#318595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6172cb;
/* rgb */ color: rgb(97, 114, 203);
/* oklch */ color: oklch(58.1% 0.137 273.3);
Tailwind
colors: {
  custom: {
    50: '#959adb',
    500: '#6172cb',
    950: '#000000',
  },
}
SCSS
$custom: #6172cb;
$custom-light: #959adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6172cb",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 230.377,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.13741,
    "h": 273.3
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#6172CB
secondary
#D9D2AF
accent
#C34EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6172CB

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

Preview Lab → · Contrast checker → · Palette generator →

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