#6174E7#6174E7

#6174E7 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.174 H 273.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6174E7
RGBrgb(97, 116, 231)
HSLhsl(231, 74%, 64%)
HSVhsv(231, 58%, 91%)
CMYKcmyk(58%, 49.8%, 0%, 9.4%)
CIE-LABlab(52.73, 26.63, -60.65)
CIE-LCHlch(52.73, 66.24, 293.71°)
OKLaboklab(60.26% 0.0092 -0.1735)
OKLCHoklch(60.26% 0.174 273)
XYZxyz(25.5942, 20.7997, 78.2518)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174E7 #E7D461
analogous
#61B7E7 #6174E7 #9161E7
triadic
#6174E7 #E76174 #74E761
tetradic
#6174E7 #E761B7 #E7D461 #61E791
square
#6174E7 #E761B7 #E7D461 #61E791
split-complementary
#6174E7 #E79161 #B7E761
monochromatic
#1B31B2 #2C45DF #6174E7 #96A3EF #CBD1F7

Accessibility & contrast

On white

4.07
#6174E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6174E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174E7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174E7#FFFFFF#000000##000000
##6174E71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#1D78E5
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6174e7;
/* rgb */ color: rgb(97, 116, 231);
/* oklch */ color: oklch(60.3% 0.174 273.0);
Tailwind
colors: {
  custom: {
    50: '#989bef',
    500: '#6174e7',
    950: '#000000',
  },
}
SCSS
$custom: #6174e7;
$custom-light: #989bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6174e7",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 231.493,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.1737,
    "h": 273
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#6174E7
secondary
#E9E3BB
accent
#BA10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6174E7

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

Preview Lab → · Contrast checker → · Palette generator →

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