#6173EB#6173EB

#6173EB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.180 H 273.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6173EB
RGBrgb(97, 115, 235)
HSLhsl(232, 78%, 65%)
HSVhsv(232, 59%, 92%)
CMYKcmyk(58.7%, 51.1%, 0%, 7.8%)
CIE-LABlab(52.73, 28.54, -62.89)
CIE-LCHlch(52.73, 69.06, 294.41°)
OKLaboklab(60.34% 0.0105 -0.1801)
OKLCHoklch(60.34% 0.18 273.4)
XYZxyz(26.0510, 20.7990, 81.2230)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173EB #EBD961
analogous
#61B8EB #6173EB #9461EB
triadic
#6173EB #EB6173 #73EB61
tetradic
#6173EB #EB61B8 #EBD961 #61EB94
square
#6173EB #EB61B8 #EBD961 #61EB94
split-complementary
#6173EB #EB9461 #B8EB61
monochromatic
#182DBA #2B43E4 #6173EB #97A3F2 #CED3F9

Accessibility & contrast

On white

4.07
#6173EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6173EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173EB#FFFFFF#000000##000000
##6173EB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6173eb;
/* rgb */ color: rgb(97, 115, 235);
/* oklch */ color: oklch(60.3% 0.180 273.4);
Tailwind
colors: {
  custom: {
    50: '#999bf2',
    500: '#6173eb',
    950: '#000000',
  },
}
SCSS
$custom: #6173eb;
$custom-light: #999bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6173eb",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 232.174,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.18037,
    "h": 273.4
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#6173EB
secondary
#EBE5BD
accent
#BF0CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173EB

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

Preview Lab → · Contrast checker → · Palette generator →

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