#6159AE#6159AE

#6159AE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.131 H 285.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6159AE
RGBrgb(97, 89, 174)
HSLhsl(246, 34%, 52%)
HSVhsv(246, 49%, 68%)
CMYKcmyk(44.3%, 48.9%, 0%, 31.8%)
CIE-LABlab(42.37, 25.28, -44.54)
CIE-LCHlch(42.37, 51.21, 299.58°)
OKLaboklab(51.33% 0.034 -0.1263)
OKLCHoklch(51.33% 0.131 285.1)
XYZxyz(16.1399, 12.7415, 41.6451)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159AE #A6AE59
analogous
#597CAE #6159AE #8C59AE
triadic
#6159AE #AE6159 #59AE61
tetradic
#6159AE #AE597C #A6AE59 #59AE8C
square
#6159AE #AE597C #A6AE59 #59AE8C
split-complementary
#6159AE #AE8C59 #7CAE59
monochromatic
#332E5E #494288 #6159AE #8882C2 #AFABD6

Accessibility & contrast

On white

5.92
#6159AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6159AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159AE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159AE#FFFFFF#000000##FFFFFF
##6159AE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#496B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6159ae;
/* rgb */ color: rgb(97, 89, 174);
/* oklch */ color: oklch(51.3% 0.131 285.1);
Tailwind
colors: {
  custom: {
    50: '#9288c7',
    500: '#6159ae',
    950: '#000000',
  },
}
SCSS
$custom: #6159ae;
$custom-light: #9288c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6159ae",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 245.647,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.13084,
    "h": 285.1
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#6159AE
secondary
#C1C49F
accent
#CA5DC0
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #6159AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6159AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva