#6174E6#6174E6

#6174E6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.172 H 273.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6174E6
RGBrgb(97, 116, 230)
HSLhsl(231, 73%, 64%)
HSVhsv(231, 58%, 90%)
CMYKcmyk(57.8%, 49.6%, 0%, 9.8%)
CIE-LABlab(52.67, 26.30, -60.19)
CIE-LCHlch(52.67, 65.68, 293.61°)
OKLaboklab(60.2% 0.0091 -0.1721)
OKLCHoklch(60.2% 0.172 273)
XYZxyz(25.4534, 20.7434, 77.5101)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174E6 #E6D361
analogous
#61B6E6 #6174E6 #9161E6
triadic
#6174E6 #E66174 #74E661
tetradic
#6174E6 #E661B6 #E6D361 #61E691
square
#6174E6 #E661B6 #E6D361 #61E691
split-complementary
#6174E6 #E69161 #B6E661
monochromatic
#1C31B1 #2C46DE #6174E6 #96A2EE #CBD1F7

Accessibility & contrast

On white

4.08
#6174E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6174E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174E6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174E6#FFFFFF#000000##000000
##6174E61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#1F78E4
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6174e6;
/* rgb */ color: rgb(97, 116, 230);
/* oklch */ color: oklch(60.2% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#989bef',
    500: '#6174e6',
    950: '#000000',
  },
}
SCSS
$custom: #6174e6;
$custom-light: #989bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6174e6",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 231.429,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60195,
    "c": 0.17234,
    "h": 273
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#6174E6
secondary
#E9E2BA
accent
#B911D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6174E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6174E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva