#6170D8#6170D8

#6170D8 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.158 H 274.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6170D8
RGBrgb(97, 112, 216)
HSLhsl(232, 60%, 61%)
HSVhsv(232, 55%, 85%)
CMYKcmyk(55.1%, 48.1%, 0%, 15.3%)
CIE-LABlab(50.79, 24.22, -55.31)
CIE-LCHlch(50.79, 60.38, 293.64°)
OKLaboklab(58.5% 0.0118 -0.1578)
OKLCHoklch(58.5% 0.158 274.3)
XYZxyz(23.1146, 19.0860, 67.4184)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170D8 #D8C961
analogous
#61ACD8 #6170D8 #8E61D8
triadic
#6170D8 #D86170 #70D861
tetradic
#6170D8 #D861AC #D8C961 #61D88E
square
#6170D8 #D861AC #D8C961 #61D88E
split-complementary
#6170D8 #D88E61 #ACD861
monochromatic
#263499 #3245CA #6170D8 #929CE4 #C3C9F0

Accessibility & contrast

On white

4.36
#6170D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6170D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170D8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170D8#FFFFFF#000000##000000
##6170D81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDC
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#21879A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6170d8;
/* rgb */ color: rgb(97, 112, 216);
/* oklch */ color: oklch(58.5% 0.158 274.3);
Tailwind
colors: {
  custom: {
    50: '#9698e5',
    500: '#6170d8',
    950: '#000000',
  },
}
SCSS
$custom: #6170d8;
$custom-light: #9698e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6170d8",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 232.437,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.15826,
    "h": 274.3
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#6170D8
secondary
#E1DBB4
accent
#B31DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #6170D8

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

Preview Lab → · Contrast checker → · Palette generator →

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