#6159BD#6159BD

#6159BD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.152 H 283.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6159BD
RGBrgb(97, 89, 189)
HSLhsl(245, 43%, 55%)
HSVhsv(245, 53%, 74%)
CMYKcmyk(48.7%, 52.9%, 0%, 25.9%)
CIE-LABlab(43.30, 29.84, -51.83)
CIE-LCHlch(43.30, 59.81, 299.93°)
OKLaboklab(52.32% 0.0353 -0.1478)
OKLCHoklch(52.32% 0.152 283.4)
XYZxyz(17.6847, 13.3594, 49.7810)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159BD #B5BD59
analogous
#5983BD #6159BD #9359BD
triadic
#6159BD #BD6159 #59BD61
tetradic
#6159BD #BD5983 #B5BD59 #59BD93
square
#6159BD #BD5983 #B5BD59 #59BD93
split-complementary
#6159BD #BD9359 #83BD59
monochromatic
#322C6F #453E9B #6159BD #8B85CE #B4B1E0

Accessibility & contrast

On white

5.72
#6159BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6159BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159BD#FFFFFF#000000##FFFFFF
##6159BD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC0
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#406F82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6159bd;
/* rgb */ color: rgb(97, 89, 189);
/* oklch */ color: oklch(52.3% 0.152 283.4);
Tailwind
colors: {
  custom: {
    50: '#9488d1',
    500: '#6159bd',
    950: '#000000',
  },
}
SCSS
$custom: #6159bd;
$custom-light: #9488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6159bd",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 244.8,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.15191,
    "h": 283.4
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#6159BD
secondary
#CBCEA4
accent
#D355C9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6159BD

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

Preview Lab → · Contrast checker → · Palette generator →

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