#6171DB#6171DB

#6171DB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.161 H 273.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6171DB
RGBrgb(97, 113, 219)
HSLhsl(232, 63%, 62%)
HSVhsv(232, 56%, 86%)
CMYKcmyk(55.7%, 48.4%, 0%, 14.1%)
CIE-LABlab(51.23, 24.57, -56.31)
CIE-LCHlch(51.23, 61.44, 293.57°)
OKLaboklab(58.89% 0.0111 -0.1607)
OKLCHoklch(58.89% 0.161 273.9)
XYZxyz(23.6169, 19.4644, 69.5166)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171DB #DBCB61
analogous
#61AEDB #6171DB #8E61DB
triadic
#6171DB #DB6171 #71DB61
tetradic
#6171DB #DB61AE #DBCB61 #61DB8E
square
#6171DB #DB61AE #DBCB61 #61DB8E
split-complementary
#6171DB #DB8E61 #AEDB61
monochromatic
#24349E #2F44D0 #6171DB #939EE6 #C5CBF2

Accessibility & contrast

On white

4.29
#6171DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6171DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171DB#FFFFFF#000000##000000
##6171DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#1B899B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6171db;
/* rgb */ color: rgb(97, 113, 219);
/* oklch */ color: oklch(58.9% 0.161 273.9);
Tailwind
colors: {
  custom: {
    50: '#9799e7',
    500: '#6171db',
    950: '#000000',
  },
}
SCSS
$custom: #6171db;
$custom-light: #9799e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6171db",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 232.131,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.16111,
    "h": 273.9
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#6171DB
secondary
#E2DCB5
accent
#B41BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #6171DB

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

Preview Lab → · Contrast checker → · Palette generator →

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