#6170EE#6170EE

#6170EE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.188 H 274.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6170EE
RGBrgb(97, 112, 238)
HSLhsl(234, 81%, 66%)
HSVhsv(234, 59%, 93%)
CMYKcmyk(59.2%, 52.9%, 0%, 6.7%)
CIE-LABlab(52.18, 31.34, -65.46)
CIE-LCHlch(52.18, 72.57, 295.59°)
OKLaboklab(59.99% 0.0137 -0.1876)
OKLCHoklch(59.99% 0.188 274.2)
XYZxyz(26.1515, 20.3007, 83.4127)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170EE #EEDF61
analogous
#61B6EE #6170EE #9861EE
triadic
#6170EE #EE6170 #70EE61
tetradic
#6170EE #EE61B6 #EEDF61 #61EE98
square
#6170EE #EE61B6 #EEDF61 #61EE98
split-complementary
#6170EE #EE9861 #B6EE61
monochromatic
#1527C0 #2A3EE8 #6170EE #98A2F4 #D0D4FA

Accessibility & contrast

On white

4.15
#6170EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6170EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170EE#FFFFFF#000000##000000
##6170EE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6170ee;
/* rgb */ color: rgb(97, 112, 238);
/* oklch */ color: oklch(60.0% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a98f4',
    500: '#6170ee',
    950: '#000000',
  },
}
SCSS
$custom: #6170ee;
$custom-light: #9a98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ee",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 233.617,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.18815,
    "h": 274.2
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#6170EE
secondary
#EDE8BE
accent
#C609DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170EE

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

Preview Lab → · Contrast checker → · Palette generator →

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