#6170ED#6170ED

#6170ED is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.187 H 274.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6170ED
RGBrgb(97, 112, 237)
HSLhsl(234, 80%, 65%)
HSVhsv(234, 59%, 93%)
CMYKcmyk(59.1%, 52.7%, 0%, 7.1%)
CIE-LABlab(52.11, 31.02, -65.00)
CIE-LCHlch(52.11, 72.03, 295.51°)
OKLaboklab(59.92% 0.0136 -0.1863)
OKLCHoklch(59.92% 0.187 274.2)
XYZxyz(26.0050, 20.2421, 82.6411)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170ED #EDDE61
analogous
#61B6ED #6170ED #9861ED
triadic
#6170ED #ED6170 #70ED61
tetradic
#6170ED #ED61B6 #EDDE61 #61ED98
square
#6170ED #ED61B6 #EDDE61 #61ED98
split-complementary
#6170ED #ED9861 #B6ED61
monochromatic
#1628BE #2A3EE7 #6170ED #98A2F3 #CFD3FA

Accessibility & contrast

On white

4.16
#6170ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6170ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170ED#FFFFFF#000000##000000
##6170ED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6170ed;
/* rgb */ color: rgb(97, 112, 237);
/* oklch */ color: oklch(59.9% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a98f4',
    500: '#6170ed',
    950: '#000000',
  },
}
SCSS
$custom: #6170ed;
$custom-light: #9a98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ed",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 233.571,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.18682,
    "h": 274.2
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#6170ED
secondary
#ECE7BD
accent
#C50ADC
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170ED

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

Preview Lab → · Contrast checker → · Palette generator →

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