#6170F4#6170F4

#6170F4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.196 H 274.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6170F4
RGBrgb(97, 112, 244)
HSLhsl(234, 87%, 67%)
HSVhsv(234, 60%, 96%)
CMYKcmyk(60.2%, 54.1%, 0%, 4.3%)
CIE-LABlab(52.57, 33.30, -68.16)
CIE-LCHlch(52.57, 75.86, 296.04°)
OKLaboklab(60.41% 0.0139 -0.1956)
OKLCHoklch(60.41% 0.196 274.1)
XYZxyz(27.0477, 20.6592, 88.1327)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170F4 #F4E561
analogous
#61B9F4 #6170F4 #9C61F4
triadic
#6170F4 #F46170 #70F461
tetradic
#6170F4 #F461B9 #F4E561 #61F49C
square
#6170F4 #F461B9 #F4E561 #61F49C
split-complementary
#6170F4 #F49C61 #B9F461
monochromatic
#0E22CC #283CF0 #6170F4 #9AA4F8 #D3D8FC

Accessibility & contrast

On white

4.09
#6170F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6170F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170F4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170F4#FFFFFF#000000##000000
##6170F41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B84F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6170f4;
/* rgb */ color: rgb(97, 112, 244);
/* oklch */ color: oklch(60.4% 0.196 274.1);
Tailwind
colors: {
  custom: {
    50: '#9b99f9',
    500: '#6170f4',
    950: '#000000',
  },
}
SCSS
$custom: #6170f4;
$custom-light: #9b99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6170f4",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 233.878,
    "s": 86.982,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60413,
    "c": 0.1961,
    "h": 274.1
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#6170F4
secondary
#F0EBC1
accent
#CD02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170F4

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

Preview Lab → · Contrast checker → · Palette generator →

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