#6170CA#6170CA

#6170CA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.139 H 274.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6170CA
RGBrgb(97, 112, 202)
HSLhsl(231, 50%, 59%)
HSVhsv(231, 52%, 79%)
CMYKcmyk(52%, 44.6%, 0%, 20.8%)
CIE-LABlab(49.97, 19.74, -48.66)
CIE-LCHlch(49.97, 52.51, 292.08°)
OKLaboklab(57.61% 0.01 -0.1383)
OKLCHoklch(57.61% 0.139 274.1)
XYZxyz(21.3812, 18.3926, 58.2891)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170CA #CABB61
analogous
#61A4CA #6170CA #8661CA
triadic
#6170CA #CA6170 #70CA61
tetradic
#6170CA #CA61A4 #CABB61 #61CA86
square
#6170CA #CA61A4 #CABB61 #61CA86
split-complementary
#6170CA #CA8661 #A4CA61
monochromatic
#2C3984 #3C4DB2 #6170CA #8F99D9 #BDC3E9

Accessibility & contrast

On white

4.49
#6170CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6170CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170CA#FFFFFF#000000##000000
##6170CA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#328393
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6170ca;
/* rgb */ color: rgb(97, 112, 202);
/* oklch */ color: oklch(57.6% 0.139 274.1);
Tailwind
colors: {
  custom: {
    50: '#9598da',
    500: '#6170ca',
    950: '#000000',
  },
}
SCSS
$custom: #6170ca;
$custom-light: #9598da;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ca",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 231.429,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.13862,
    "h": 274.1
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#6170CA
secondary
#D8D2AF
accent
#C54FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170CA

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

Preview Lab → · Contrast checker → · Palette generator →

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