#6174E5#6174E5

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

Color values

HEX#6174E5
RGBrgb(97, 116, 229)
HSLhsl(231, 72%, 64%)
HSVhsv(231, 58%, 90%)
CMYKcmyk(57.6%, 49.3%, 0%, 10.2%)
CIE-LABlab(52.61, 25.98, -59.72)
CIE-LCHlch(52.61, 65.13, 293.51°)
OKLaboklab(60.13% 0.009 -0.1707)
OKLCHoklch(60.13% 0.171 273)
XYZxyz(25.3134, 20.6874, 76.7727)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174E5 #E5D261
analogous
#61B6E5 #6174E5 #9061E5
triadic
#6174E5 #E56174 #74E561
tetradic
#6174E5 #E561B6 #E5D261 #61E590
square
#6174E5 #E561B6 #E5D261 #61E590
split-complementary
#6174E5 #E59061 #B6E561
monochromatic
#1D32AF #2C46DC #6174E5 #96A2EE #CAD0F6

Accessibility & contrast

On white

4.09
#6174E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6174E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174E5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174E5#FFFFFF#000000##000000
##6174E51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E9
Deuteranopia (green-blind)
#2178E3
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6174e5;
/* rgb */ color: rgb(97, 116, 229);
/* oklch */ color: oklch(60.1% 0.171 273.0);
Tailwind
colors: {
  custom: {
    50: '#989bee',
    500: '#6174e5',
    950: '#000000',
  },
}
SCSS
$custom: #6174e5;
$custom-light: #989bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6174e5",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 231.364,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.17098,
    "h": 273
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#6174E5
secondary
#E8E1BA
accent
#B812D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6174E5

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

Preview Lab → · Contrast checker → · Palette generator →

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