#6173DB#6173DB

#6173DB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.159 H 273.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6173DB
RGBrgb(97, 115, 219)
HSLhsl(231, 63%, 62%)
HSVhsv(231, 56%, 86%)
CMYKcmyk(55.7%, 47.5%, 0%, 14.1%)
CIE-LABlab(51.74, 23.35, -55.48)
CIE-LCHlch(51.74, 60.19, 292.82°)
OKLaboklab(59.28% 0.009 -0.1583)
OKLCHoklch(59.28% 0.159 273.2)
XYZxyz(23.8425, 19.9156, 69.5918)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173DB #DBC961
analogous
#61B0DB #6173DB #8C61DB
triadic
#6173DB #DB6173 #73DB61
tetradic
#6173DB #DB61B0 #DBC961 #61DB8C
square
#6173DB #DB61B0 #DBC961 #61DB8C
split-complementary
#6173DB #DB8C61 #B0DB61
monochromatic
#24369E #2F47D0 #6173DB #939FE6 #C5CBF2

Accessibility & contrast

On white

4.21
#6173DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6173DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173DB#FFFFFF#000000##000000
##6173DB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#1A8A9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6173db;
/* rgb */ color: rgb(97, 115, 219);
/* oklch */ color: oklch(59.3% 0.159 273.2);
Tailwind
colors: {
  custom: {
    50: '#979be7',
    500: '#6173db',
    950: '#000000',
  },
}
SCSS
$custom: #6173db;
$custom-light: #979be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6173db",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 231.148,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.15853,
    "h": 273.2
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6173DB

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

Preview Lab → · Contrast checker → · Palette generator →

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