#6172D8#6172D8

#6172D8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.156 H 273.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6172D8
RGBrgb(97, 114, 216)
HSLhsl(231, 60%, 61%)
HSVhsv(231, 55%, 85%)
CMYKcmyk(55.1%, 47.2%, 0%, 15.3%)
CIE-LABlab(51.30, 22.99, -54.49)
CIE-LCHlch(51.30, 59.14, 292.88°)
OKLaboklab(58.89% 0.0097 -0.1554)
OKLCHoklch(58.89% 0.156 273.6)
XYZxyz(23.3377, 19.5322, 67.4927)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172D8 #D8C761
analogous
#61AED8 #6172D8 #8C61D8
triadic
#6172D8 #D86172 #72D861
tetradic
#6172D8 #D861AE #D8C761 #61D88C
square
#6172D8 #D861AE #D8C761 #61D88C
split-complementary
#6172D8 #D88C61 #AED861
monochromatic
#263699 #3248CA #6172D8 #929EE4 #C3CAF0

Accessibility & contrast

On white

4.28
#6172D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#6172D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172D8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172D8#FFFFFF#000000##000000
##6172D81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DC
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#20899B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6172d8;
/* rgb */ color: rgb(97, 114, 216);
/* oklch */ color: oklch(58.9% 0.156 273.6);
Tailwind
colors: {
  custom: {
    50: '#969ae5',
    500: '#6172d8',
    950: '#000000',
  },
}
SCSS
$custom: #6172d8;
$custom-light: #969ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#6172d8",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 231.429,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.15566,
    "h": 273.6
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#6172D8
secondary
#E1DAB4
accent
#B01DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6172D8

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

Preview Lab → · Contrast checker → · Palette generator →

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