#6170EF#6170EF

#6170EF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.189 H 274.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6170EF
RGBrgb(97, 112, 239)
HSLhsl(234, 82%, 66%)
HSVhsv(234, 59%, 94%)
CMYKcmyk(59.4%, 53.1%, 0%, 6.3%)
CIE-LABlab(52.24, 31.67, -65.91)
CIE-LCHlch(52.24, 73.12, 295.66°)
OKLaboklab(60.06% 0.0137 -0.189)
OKLCHoklch(60.06% 0.189 274.1)
XYZxyz(26.2988, 20.3597, 84.1886)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170EF #EFE061
analogous
#61B7EF #6170EF #9961EF
triadic
#6170EF #EF6170 #70EF61
tetradic
#6170EF #EF61B7 #EFE061 #61EF99
square
#6170EF #EF61B7 #EFE061 #61EF99
split-complementary
#6170EF #EF9961 #B7EF61
monochromatic
#1426C2 #293EE9 #6170EF #99A2F5 #D0D5FA

Accessibility & contrast

On white

4.14
#6170EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6170EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170EF#FFFFFF#000000##000000
##6170EF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6170ef;
/* rgb */ color: rgb(97, 112, 239);
/* oklch */ color: oklch(60.1% 0.189 274.1);
Tailwind
colors: {
  custom: {
    50: '#9a98f5',
    500: '#6170ef',
    950: '#000000',
  },
}
SCSS
$custom: #6170ef;
$custom-light: #9a98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ef",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 233.662,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.18948,
    "h": 274.1
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6170EF

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

Preview Lab → · Contrast checker → · Palette generator →

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