#6174F1#6174F1

#6174F1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.187 H 273.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6174F1
RGBrgb(97, 116, 241)
HSLhsl(232, 84%, 66%)
HSVhsv(232, 60%, 95%)
CMYKcmyk(59.8%, 51.9%, 0%, 5.5%)
CIE-LABlab(53.36, 29.89, -65.21)
CIE-LCHlch(53.36, 71.74, 294.63°)
OKLaboklab(60.94% 0.01 -0.1869)
OKLCHoklch(60.94% 0.187 273.1)
XYZxyz(27.0471, 21.3809, 85.9036)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174F1 #F1DE61
analogous
#61BCF1 #6174F1 #9661F1
triadic
#6174F1 #F16174 #74F161
tetradic
#6174F1 #F161BC #F1DE61 #61F196
square
#6174F1 #F161BC #F1DE61 #61F196
split-complementary
#6174F1 #F19661 #BCF161
monochromatic
#1229C6 #2943EC #6174F1 #99A5F6 #D1D7FB

Accessibility & contrast

On white

3.98
#6174F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6174F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174F1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174F1#FFFFFF#000000##000000
##6174F11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F5
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6174f1;
/* rgb */ color: rgb(97, 116, 241);
/* oklch */ color: oklch(60.9% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a9bf6',
    500: '#6174f1',
    950: '#000000',
  },
}
SCSS
$custom: #6174f1;
$custom-light: #9a9bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6174f1",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 232.083,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.18716,
    "h": 273.1
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#6174F1
secondary
#EEE8BF
accent
#C305E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174F1

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

Preview Lab → · Contrast checker → · Palette generator →

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