#6174FA#6174FA

#6174FA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.6% C 0.199 H 273.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6174FA
RGBrgb(97, 116, 250)
HSLhsl(233, 94%, 68%)
HSVhsv(233, 61%, 98%)
CMYKcmyk(61.2%, 53.6%, 0%, 2%)
CIE-LABlab(53.95, 32.84, -69.26)
CIE-LCHlch(53.95, 76.65, 295.37°)
OKLaboklab(61.58% 0.0105 -0.1988)
OKLCHoklch(61.58% 0.199 273)
XYZxyz(28.4248, 21.9319, 93.1593)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174FA #FAE761
analogous
#61C0FA #6174FA #9A61FA
triadic
#6174FA #FA6174 #74FA61
tetradic
#6174FA #FA61C0 #FAE761 #61FA9A
square
#6174FA #FA61C0 #FAE761 #61FA9A
split-complementary
#6174FA #FA9A61 #C0FA61
monochromatic
#0721DA #2640F8 #6174FA #9CA8FC #D8DCFE

Accessibility & contrast

On white

3.90
#6174FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6174FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174FA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174FA#FFFFFF#000000##000000
##6174FA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1288FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6174fa;
/* rgb */ color: rgb(97, 116, 250);
/* oklch */ color: oklch(61.6% 0.199 273.0);
Tailwind
colors: {
  custom: {
    50: '#9b9bfd',
    500: '#6174fa',
    950: '#000000',
  },
}
SCSS
$custom: #6174fa;
$custom-light: #9b9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#6174fa",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 232.549,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.19907,
    "h": 273
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#6174FA
secondary
#F3EDC4
accent
#C900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #6174FA

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

Preview Lab → · Contrast checker → · Palette generator →

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