#6170E8#6170E8

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

Color values

HEX#6170E8
RGBrgb(97, 112, 232)
HSLhsl(233, 75%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(58.2%, 51.7%, 0%, 9%)
CIE-LABlab(51.79, 29.39, -62.73)
CIE-LCHlch(51.79, 69.27, 295.11°)
OKLaboklab(59.57% 0.0133 -0.1796)
OKLCHoklch(59.57% 0.18 274.2)
XYZxyz(25.2847, 19.9540, 78.8474)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170E8 #E8D961
analogous
#61B4E8 #6170E8 #9561E8
triadic
#6170E8 #E86170 #70E861
tetradic
#6170E8 #E861B4 #E8D961 #61E895
square
#6170E8 #E861B4 #E8D961 #61E895
split-complementary
#6170E8 #E89561 #B4E861
monochromatic
#1A2BB4 #2C40E0 #6170E8 #96A0F0 #CCD1F8

Accessibility & contrast

On white

4.21
#6170E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6170E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170E8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170E8#FFFFFF#000000##000000
##6170E81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EC
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6170e8;
/* rgb */ color: rgb(97, 112, 232);
/* oklch */ color: oklch(59.6% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#9998f0',
    500: '#6170e8',
    950: '#000000',
  },
}
SCSS
$custom: #6170e8;
$custom-light: #9998f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6170e8",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 233.333,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.18011,
    "h": 274.2
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#6170E8
secondary
#EAE5BB
accent
#C10FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170E8

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

Preview Lab → · Contrast checker → · Palette generator →

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