#6174F7#6174F7

#6174F7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.4% C 0.195 H 273.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6174F7
RGBrgb(97, 116, 247)
HSLhsl(232, 90%, 67%)
HSVhsv(232, 61%, 97%)
CMYKcmyk(60.7%, 53%, 0%, 3.1%)
CIE-LABlab(53.76, 31.86, -67.92)
CIE-LCHlch(53.76, 75.01, 295.13°)
OKLaboklab(61.36% 0.0104 -0.1948)
OKLCHoklch(61.36% 0.195 273)
XYZxyz(27.9581, 21.7453, 90.7016)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174F7 #F7E461
analogous
#61BFF7 #6174F7 #9961F7
triadic
#6174F7 #F76174 #74F761
tetradic
#6174F7 #F761BF #F7E461 #61F799
square
#6174F7 #F761BF #F7E461 #61F799
split-complementary
#6174F7 #F79961 #BFF761
monochromatic
#0B24D3 #2741F4 #6174F7 #9BA7FA #D6DAFD

Accessibility & contrast

On white

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

On black

5.35
#6174F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174F7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174F7#FFFFFF#000000##000000
##6174F71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6174f7;
/* rgb */ color: rgb(97, 116, 247);
/* oklch */ color: oklch(61.4% 0.195 273.0);
Tailwind
colors: {
  custom: {
    50: '#9b9bfb',
    500: '#6174f7',
    950: '#000000',
  },
}
SCSS
$custom: #6174f7;
$custom-light: #9b9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6174f7",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 232.4,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61362,
    "c": 0.19512,
    "h": 273
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6174F7

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

Preview Lab → · Contrast checker → · Palette generator →

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