#6170BC#6170BC

#6170BC is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.8% C 0.119 H 273.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6170BC
RGBrgb(97, 112, 188)
HSLhsl(230, 40%, 56%)
HSVhsv(230, 48%, 74%)
CMYKcmyk(48.4%, 40.4%, 0%, 26.3%)
CIE-LABlab(49.20, 15.34, -41.83)
CIE-LCHlch(49.20, 44.56, 290.14°)
OKLaboklab(56.78% 0.0075 -0.1183)
OKLCHoklch(56.78% 0.119 273.6)
XYZxyz(19.7982, 17.7594, 49.9519)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170BC #BCAD61
analogous
#619DBC #6170BC #7F61BC
triadic
#6170BC #BC6170 #70BC61
tetradic
#6170BC #BC619D #BCAD61 #61BC7F
square
#6170BC #BC619D #BCAD61 #61BC7F
split-complementary
#6170BC #BC7F61 #9DBC61
monochromatic
#303B72 #43529D #6170BC #8C97CE #B7BEE0

Accessibility & contrast

On white

4.61
#6170BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6170BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6170BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170BC#FFFFFF#000000##FFFFFF
##6170BC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#3E808D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6170bc;
/* rgb */ color: rgb(97, 112, 188);
/* oklch */ color: oklch(56.8% 0.119 273.6);
Tailwind
colors: {
  custom: {
    50: '#9398d0',
    500: '#6170bc',
    950: '#000000',
  },
}
SCSS
$custom: #6170bc;
$custom-light: #9398d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6170bc",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 230.11,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.11852,
    "h": 273.6
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#6170BC
secondary
#CFC9AA
accent
#BC57D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #6170BC

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

Preview Lab → · Contrast checker → · Palette generator →

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