#6170DD#6170DD

#6170DD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.165 H 274.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6170DD
RGBrgb(97, 112, 221)
HSLhsl(233, 65%, 62%)
HSVhsv(233, 56%, 87%)
CMYKcmyk(56.1%, 49.3%, 0%, 13.3%)
CIE-LABlab(51.09, 25.83, -57.65)
CIE-LCHlch(51.09, 63.17, 294.13°)
OKLaboklab(58.83% 0.0124 -0.1647)
OKLCHoklch(58.83% 0.165 274.3)
XYZxyz(23.7708, 19.3485, 70.8746)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170DD #DDCE61
analogous
#61AEDD #6170DD #9061DD
triadic
#6170DD #DD6170 #70DD61
tetradic
#6170DD #DD61AE #DDCE61 #61DD90
square
#6170DD #DD61AE #DDCE61 #61DD90
split-complementary
#6170DD #DD9061 #AEDD61
monochromatic
#2332A1 #2F42D2 #6170DD #939EE8 #C6CBF3

Accessibility & contrast

On white

4.31
#6170DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6170DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170DD#FFFFFF#000000##000000
##6170DD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE1
Deuteranopia (green-blind)
#2575DB
Tritanopia (blue-blind)
#17889C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6170dd;
/* rgb */ color: rgb(97, 112, 221);
/* oklch */ color: oklch(58.8% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#9798e8',
    500: '#6170dd',
    950: '#000000',
  },
}
SCSS
$custom: #6170dd;
$custom-light: #9798e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6170dd",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 232.742,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.16515,
    "h": 274.3
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#6170DD
secondary
#E4DEB6
accent
#B719CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #6170DD

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

Preview Lab → · Contrast checker → · Palette generator →

#6170DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva