#6159AF#6159AF

#6159AF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.132 H 285.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6159AF
RGBrgb(97, 89, 175)
HSLhsl(246, 35%, 52%)
HSVhsv(246, 49%, 69%)
CMYKcmyk(44.6%, 49.1%, 0%, 31.4%)
CIE-LABlab(42.43, 25.58, -45.03)
CIE-LCHlch(42.43, 51.79, 299.60°)
OKLaboklab(51.39% 0.0342 -0.1278)
OKLCHoklch(51.39% 0.132 285)
XYZxyz(16.2378, 12.7806, 42.1605)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159AF #A7AF59
analogous
#597CAF #6159AF #8C59AF
triadic
#6159AF #AF6159 #59AF61
tetradic
#6159AF #AF597C #A7AF59 #59AF8C
square
#6159AF #AF597C #A7AF59 #59AF8C
split-complementary
#6159AF #AF8C59 #7CAF59
monochromatic
#332E60 #494289 #6159AF #8882C3 #B0ACD7

Accessibility & contrast

On white

5.91
#6159AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6159AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159AF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159AF#FFFFFF#000000##FFFFFF
##6159AF1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#496B7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6159af;
/* rgb */ color: rgb(97, 89, 175);
/* oklch */ color: oklch(51.4% 0.132 285.0);
Tailwind
colors: {
  custom: {
    50: '#9288c7',
    500: '#6159af',
    950: '#000000',
  },
}
SCSS
$custom: #6159af;
$custom-light: #9288c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6159af",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 245.581,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.13227,
    "h": 285
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#6159AF
secondary
#C1C59F
accent
#CB5DC1
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #6159AF

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

Preview Lab → · Contrast checker → · Palette generator →

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