#6170E9#6170E9

#6170E9 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.181 H 274.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6170E9
RGBrgb(97, 112, 233)
HSLhsl(233, 76%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(58.4%, 51.9%, 0%, 8.6%)
CIE-LABlab(51.85, 29.72, -63.19)
CIE-LCHlch(51.85, 69.83, 295.19°)
OKLaboklab(59.64% 0.0134 -0.181)
OKLCHoklch(59.64% 0.181 274.2)
XYZxyz(25.4271, 20.0110, 79.5976)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170E9 #E9DA61
analogous
#61B4E9 #6170E9 #9661E9
triadic
#6170E9 #E96170 #70E961
tetradic
#6170E9 #E961B4 #E9DA61 #61E996
square
#6170E9 #E961B4 #E9DA61 #61E996
split-complementary
#6170E9 #E99661 #B4E961
monochromatic
#192BB6 #2B3FE2 #6170E9 #97A1F0 #CCD1F8

Accessibility & contrast

On white

4.20
#6170E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6170E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170E9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170E9#FFFFFF#000000##000000
##6170E91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982ED
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6170e9;
/* rgb */ color: rgb(97, 112, 233);
/* oklch */ color: oklch(59.6% 0.181 274.2);
Tailwind
colors: {
  custom: {
    50: '#9998f1',
    500: '#6170e9',
    950: '#000000',
  },
}
SCSS
$custom: #6170e9;
$custom-light: #9998f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6170e9",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 233.382,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59639,
    "c": 0.18146,
    "h": 274.2
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#6170E9
secondary
#EAE5BC
accent
#C10ED8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170E9

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

Preview Lab → · Contrast checker → · Palette generator →

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