#6170C8#6170C8

#6170C8 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.136 H 274.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6170C8
RGBrgb(97, 112, 200)
HSLhsl(231, 48%, 58%)
HSVhsv(231, 52%, 78%)
CMYKcmyk(51.5%, 44%, 0%, 21.6%)
CIE-LABlab(49.86, 19.11, -47.69)
CIE-LCHlch(49.86, 51.38, 291.83°)
OKLaboklab(57.49% 0.0096 -0.1354)
OKLCHoklch(57.49% 0.136 274.1)
XYZxyz(21.1459, 18.2985, 57.0501)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170C8 #C8B961
analogous
#61A3C8 #6170C8 #8561C8
triadic
#6170C8 #C86170 #70C861
tetradic
#6170C8 #C861A3 #C8B961 #61C885
square
#6170C8 #C861A3 #C8B961 #61C885
split-complementary
#6170C8 #C88561 #A3C861
monochromatic
#2D3982 #3D4DAF #6170C8 #8E99D8 #BCC2E8

Accessibility & contrast

On white

4.51
#6170C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6170C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170C8#FFFFFF#000000##000000
##6170C81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#348392
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6170c8;
/* rgb */ color: rgb(97, 112, 200);
/* oklch */ color: oklch(57.5% 0.136 274.1);
Tailwind
colors: {
  custom: {
    50: '#9498d9',
    500: '#6170c8',
    950: '#000000',
  },
}
SCSS
$custom: #6170c8;
$custom-light: #9498d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6170c8",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 231.262,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.13577,
    "h": 274.1
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#6170C8
secondary
#D7D1AE
accent
#C450D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170C8

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

Preview Lab → · Contrast checker → · Palette generator →

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