#6174D9#6174D9

#6174D9 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.154 H 272.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6174D9
RGBrgb(97, 116, 217)
HSLhsl(231, 61%, 62%)
HSVhsv(231, 55%, 85%)
CMYKcmyk(55.3%, 46.5%, 0%, 14.9%)
CIE-LABlab(51.88, 22.09, -54.13)
CIE-LCHlch(51.88, 58.46, 292.20°)
OKLaboklab(59.35% 0.0076 -0.1543)
OKLCHoklch(59.35% 0.154 272.8)
XYZxyz(23.6955, 20.0402, 68.2517)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174D9 #D9C661
analogous
#61B0D9 #6174D9 #8A61D9
triadic
#6174D9 #D96174 #74D961
tetradic
#6174D9 #D961B0 #D9C661 #61D98A
square
#6174D9 #D961B0 #D9C661 #61D98A
split-complementary
#6174D9 #D98A61 #B0D961
monochromatic
#25389A #314ACC #6174D9 #929FE5 #C4CBF1

Accessibility & contrast

On white

4.19
#6174D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6174D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174D9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174D9#FFFFFF#000000##000000
##6174D91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DD
Deuteranopia (green-blind)
#3577D7
Tritanopia (blue-blind)
#1D8A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6174d9;
/* rgb */ color: rgb(97, 116, 217);
/* oklch */ color: oklch(59.3% 0.154 272.8);
Tailwind
colors: {
  custom: {
    50: '#969be5',
    500: '#6174d9',
    950: '#000000',
  },
}
SCSS
$custom: #6174d9;
$custom-light: #969be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6174d9",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 217
  },
  "hsl": {
    "h": 230.5,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.15447,
    "h": 272.8
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

primary
#6174D9
secondary
#E1DAB5
accent
#AE1DC9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6174D9

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

Preview Lab → · Contrast checker → · Palette generator →

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