#6159BA#6159BA

#6159BA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.148 H 283.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6159BA
RGBrgb(97, 89, 186)
HSLhsl(245, 41%, 54%)
HSVhsv(245, 52%, 73%)
CMYKcmyk(47.8%, 52.2%, 0%, 27.1%)
CIE-LABlab(43.11, 28.92, -50.39)
CIE-LCHlch(43.11, 58.10, 299.85°)
OKLaboklab(52.12% 0.0351 -0.1435)
OKLCHoklch(52.12% 0.148 283.7)
XYZxyz(17.3624, 13.2305, 48.0837)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159BA #B2BA59
analogous
#5982BA #6159BA #9259BA
triadic
#6159BA #BA6159 #59BA61
tetradic
#6159BA #BA5982 #B2BA59 #59BA92
square
#6159BA #BA5982 #B2BA59 #59BA92
split-complementary
#6159BA #BA9259 #82BA59
monochromatic
#322D6C #463F97 #6159BA #8A84CC #B3AFDE

Accessibility & contrast

On white

5.76
#6159BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6159BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159BA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159BA#FFFFFF#000000##FFFFFF
##6159BA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#426E81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6159ba;
/* rgb */ color: rgb(97, 89, 186);
/* oklch */ color: oklch(52.1% 0.148 283.7);
Tailwind
colors: {
  custom: {
    50: '#9488cf',
    500: '#6159ba',
    950: '#000000',
  },
}
SCSS
$custom: #6159ba;
$custom-light: #9488cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6159ba",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 244.948,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.14776,
    "h": 283.7
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#6159BA
secondary
#C9CCA3
accent
#D157C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6159BA

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

Preview Lab → · Contrast checker → · Palette generator →

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