#6159BF#6159BF

#6159BF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.155 H 283.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6159BF
RGBrgb(97, 89, 191)
HSLhsl(245, 44%, 55%)
HSVhsv(245, 53%, 75%)
CMYKcmyk(49.2%, 53.4%, 0%, 25.1%)
CIE-LABlab(43.43, 30.46, -52.79)
CIE-LCHlch(43.43, 60.95, 299.98°)
OKLaboklab(52.46% 0.0354 -0.1506)
OKLCHoklch(52.46% 0.155 283.2)
XYZxyz(17.9033, 13.4468, 50.9323)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159BF #B7BF59
analogous
#5984BF #6159BF #9459BF
triadic
#6159BF #BF6159 #59BF61
tetradic
#6159BF #BF5984 #B7BF59 #59BF94
square
#6159BF #BF5984 #B7BF59 #59BF94
split-complementary
#6159BF #BF9459 #84BF59
monochromatic
#312C72 #443D9E #6159BF #8B85D0 #B5B1E1

Accessibility & contrast

On white

5.69
#6159BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6159BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159BF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159BF#FFFFFF#000000##FFFFFF
##6159BF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#1B63BD
Tritanopia (blue-blind)
#3F7083
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6159bf;
/* rgb */ color: rgb(97, 89, 191);
/* oklch */ color: oklch(52.5% 0.155 283.2);
Tailwind
colors: {
  custom: {
    50: '#9488d3',
    500: '#6159bf',
    950: '#000000',
  },
}
SCSS
$custom: #6159bf;
$custom-light: #9488d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6159bf",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 244.706,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.15468,
    "h": 283.2
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#6159BF
secondary
#CCCFA4
accent
#D454CA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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