#6174D7#6174D7

#6174D7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.152 H 272.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6174D7
RGBrgb(97, 116, 215)
HSLhsl(230, 60%, 61%)
HSVhsv(230, 55%, 84%)
CMYKcmyk(54.9%, 46%, 0%, 15.7%)
CIE-LABlab(51.77, 21.44, -53.18)
CIE-LCHlch(51.77, 57.34, 291.96°)
OKLaboklab(59.22% 0.0074 -0.1515)
OKLCHoklch(59.22% 0.152 272.8)
XYZxyz(23.4369, 19.9368, 66.8900)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174D7 #D7C461
analogous
#61AFD7 #6174D7 #8961D7
triadic
#6174D7 #D76174 #74D761
tetradic
#6174D7 #D761AF #D7C461 #61D789
square
#6174D7 #D761AF #D7C461 #61D789
split-complementary
#6174D7 #D78961 #AFD761
monochromatic
#263897 #334BC8 #6174D7 #929FE3 #C3CAF0

Accessibility & contrast

On white

4.21
#6174D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6174D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174D7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174D7#FFFFFF#000000##000000
##6174D71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DB
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#218A9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6174d7;
/* rgb */ color: rgb(97, 116, 215);
/* oklch */ color: oklch(59.2% 0.152 272.8);
Tailwind
colors: {
  custom: {
    50: '#969be4',
    500: '#6174d7',
    950: '#000000',
  },
}
SCSS
$custom: #6174d7;
$custom-light: #969be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6174d7",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 215
  },
  "hsl": {
    "h": 230.339,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.15169,
    "h": 272.8
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#6174D7
secondary
#E0D9B4
accent
#AC1EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #6174D7

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

Preview Lab → · Contrast checker → · Palette generator →

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