#6172DB#6172DB

#6172DB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.160 H 273.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6172DB
RGBrgb(97, 114, 219)
HSLhsl(232, 63%, 62%)
HSVhsv(232, 56%, 86%)
CMYKcmyk(55.7%, 47.9%, 0%, 14.1%)
CIE-LABlab(51.48, 23.96, -55.90)
CIE-LCHlch(51.48, 60.81, 293.20°)
OKLaboklab(59.08% 0.01 -0.1595)
OKLCHoklch(59.08% 0.16 273.6)
XYZxyz(23.7291, 19.6888, 69.5540)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172DB #DBCA61
analogous
#61AFDB #6172DB #8D61DB
triadic
#6172DB #DB6172 #72DB61
tetradic
#6172DB #DB61AF #DBCA61 #61DB8D
square
#6172DB #DB61AF #DBCA61 #61DB8D
split-complementary
#6172DB #DB8D61 #AFDB61
monochromatic
#24359E #2F46D0 #6172DB #939EE6 #C5CBF2

Accessibility & contrast

On white

4.25
#6172DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6172DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172DB#FFFFFF#000000##000000
##6172DB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#1A899C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6172db;
/* rgb */ color: rgb(97, 114, 219);
/* oklch */ color: oklch(59.1% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#979ae7',
    500: '#6172db',
    950: '#000000',
  },
}
SCSS
$custom: #6172db;
$custom-light: #979ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6172db",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 231.639,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.15982,
    "h": 273.6
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#6172DB
secondary
#E2DCB5
accent
#B21BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6172DB

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

Preview Lab → · Contrast checker → · Palette generator →

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