#6174F6#6174F6

#6174F6 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.3% C 0.194 H 273.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6174F6
RGBrgb(97, 116, 246)
HSLhsl(232, 89%, 67%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(60.6%, 52.8%, 0%, 3.5%)
CIE-LABlab(53.69, 31.53, -67.47)
CIE-LCHlch(53.69, 74.47, 295.05°)
OKLaboklab(61.29% 0.0103 -0.1935)
OKLCHoklch(61.29% 0.194 273.1)
XYZxyz(27.8042, 21.6837, 89.8911)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174F6 #F6E361
analogous
#61BFF6 #6174F6 #9961F6
triadic
#6174F6 #F66174 #74F661
tetradic
#6174F6 #F661BF #F6E361 #61F699
square
#6174F6 #F661BF #F6E361 #61F699
split-complementary
#6174F6 #F69961 #BFF661
monochromatic
#0C25D1 #2741F3 #6174F6 #9BA7F9 #D5DAFD

Accessibility & contrast

On white

3.93
#6174F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6174F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174F6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174F6#FFFFFF#000000##000000
##6174F61.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6174f6;
/* rgb */ color: rgb(97, 116, 246);
/* oklch */ color: oklch(61.3% 0.194 273.1);
Tailwind
colors: {
  custom: {
    50: '#9b9bfa',
    500: '#6174f6',
    950: '#000000',
  },
}
SCSS
$custom: #6174f6;
$custom-light: #9b9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6174f6",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 232.349,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.1938,
    "h": 273.1
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#6174F6
secondary
#F1EBC2
accent
#C800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174F6

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

Preview Lab → · Contrast checker → · Palette generator →

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