#6174DA#6174DA

#6174DA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.156 H 272.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6174DA
RGBrgb(97, 116, 218)
HSLhsl(231, 62%, 62%)
HSVhsv(231, 56%, 85%)
CMYKcmyk(55.5%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.94, 22.41, -54.60)
CIE-LCHlch(51.94, 59.02, 292.32°)
OKLaboklab(59.41% 0.0078 -0.1557)
OKLCHoklch(59.41% 0.156 272.9)
XYZxyz(23.8259, 20.0924, 68.9388)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174DA #DAC761
analogous
#61B0DA #6174DA #8B61DA
triadic
#6174DA #DA6174 #74DA61
tetradic
#6174DA #DA61B0 #DAC761 #61DA8B
square
#6174DA #DA61B0 #DAC761 #61DA8B
split-complementary
#6174DA #DA8B61 #B0DA61
monochromatic
#25379C #3049CE #6174DA #93A0E6 #C4CBF1

Accessibility & contrast

On white

4.18
#6174DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#6174DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174DA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174DA#FFFFFF#000000##000000
##6174DA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#1C8B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6174da;
/* rgb */ color: rgb(97, 116, 218);
/* oklch */ color: oklch(59.4% 0.156 272.9);
Tailwind
colors: {
  custom: {
    50: '#979be6',
    500: '#6174da',
    950: '#000000',
  },
}
SCSS
$custom: #6174da;
$custom-light: #979be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6174da",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 230.579,
    "s": 62.051,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.15586,
    "h": 272.9
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#6174DA
secondary
#E2DBB5
accent
#AE1CCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6174DA

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

Preview Lab → · Contrast checker → · Palette generator →

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